SetTargetPosition
This function is used to set the position a kinematic joint moves the attached entity to.
Syntax
- SetTargetPosition(number x, number y, number z, number blend=0.5)
- SetTargetPosition(Vec3 position, number 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.