Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I move/rotate body parts and keep them stationary?

Asked by
Discern 1007 Moderation Voter
9 years ago

So I have a pull-up bar (You know, the ones they use in the gym) in my game. How would I put the torso under the bar (This I have no problem with), rotate the arms to face upwards (I don't know how to do that part), and keep all the character's body parts stationary (I'm assuming you could anchor them, but that doesn't seem efficient...)?

I am not requesting a script. I just want the knowledge of some methods or functions that I can use, maybe provided with some links. I have absolutely no idea where to start.

1 answer

Log in to vote
0
Answered by 9 years ago

In order to do this, you should first evaluate the children of torso. These include Right Shoulder and Left Shoulder. Rotating these rotates the arms, but from the pivot points.

You can do this by accessing the SetDesiredAngle method of the Motor6D.

0
You should change the C0 and C1 properties of shoulder, CFrame is not a valid property of Motor6D objects. BlackJPI 2658 — 9y
0
Thanks, I'll read more about this to see if I can piece things together. Discern 1007 — 9y
Ad

Answer this question