SetJointMouseTarget
Description
Sets the target point in world coordinates that the mouse joint will attempt to move the attached body towards. Only works on Mouse joints.
Definition
SetJointMouseTarget( iJointIndex, x, y )
void agk::SetJointMouseTarget( UINT iJointIndex, float x, float y )
Parameters
- iJointIndex - The ID of the joint to modify.
- x - The x coordinate of the new target.
- y - The y coordinate of the new target.