I've successfully attached the camera to the joint. Here's another question.
I want to use my mouse to move the player model on his x axis and a joint in the skeleton to move the bones (where the camera is attached) on the y axis (up/down)
Here is my code
I've managed to rotate the player perfectly but it does not move the joint the way I want to ...
Any help is appreciated!
I want to use my mouse to move the player model on his x axis and a joint in the skeleton to move the bones (where the camera is attached) on the y axis (up/down)
Here is my code
rot_point = FindChild( playermesh, "joint38" ) RotateEntity rot_point,EntityPitch(rot_point)+MouseYSpeed()/2.5,0,0 RotateEntity player,0,EntityYaw(player)-MouseXSpeed()/2.5,0 MoveMouse GraphicsWidth()/2,GraphicsHeight()/2
I've managed to rotate the player perfectly but it does not move the joint the way I want to ...
Any help is appreciated!