Hello developers,
I want to implement character’s root and legs control like DOORS.
I’ve tried several times, but I’m not sure how to code these controls.
Here is a video what I want to implement:
Any helps would be appreciated!
Hello developers,
I want to implement character’s root and legs control like DOORS.
I’ve tried several times, but I’m not sure how to code these controls.
Here is a video what I want to implement:
Any helps would be appreciated!
What I guess happens is that they get the movement from the camera, using UserInputService. That returns a Vector2 that we can convert into an angle in radians (maybe using math.atan2), and rotate the legs in that direction (setting the orientation as the torso orientation + the angle). Then, they also calculate the angle of the player’s movement, when they move.
(that’s how I would do it, anyway)
Could you please provide the example code so I can understand it better?
Respectfully, you didn’t even click the links I sent. If you only care about the result, there’s probably a resource out there in Resources > Community Resources that does what you want.
I apologize for the lack of my focus in your response. I’m still not proficient in using code. I’ll make good use of the documentation you sent. Thank you for your kind response.