SetTargetPosition
This function is used to set the position a kinematic joint moves the attached entity to.
Syntax
- void SetTargetPosition(const float x, const float y, const float z, const float blend=0.5)
- void SetTargetPosition(const Vec3& position, const float blend=0.5)
Parameters
- position: position to move the attached entity to.
- x: x component of the position to move the attached entity to.
- y: y component of the position to move the attached entity to.
- z: z component of the position to move the attached entity to.