Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I manually change joint angles for R15?

Let's say that I want to make the character bend over forwards or backwards to face a certain vector, or make his elbow bend a certain amount of degrees. How would I do this?

2 answers

To simulate bending motion of the character's back, you'd CFrame the LowerTorso, and to simulate bending motion of the character's elbows, you'd CFrame the LowerRightArm or LowerLeftArm.

2 comments

0

I've done this, yet this just moves the whole body as a solid part. How can I make it bend?

0

That's really weird.. can you post your script or show me a gif?

I'm just going to answer my own question for future reference.


elbowJoint = char.RightLowerArm.RightElbow
elbowJoint.C1 = elbowJoint.C1 * CFrame.Angles(elbowAngle, 0, 0)

This bends the elbow radians.

This discussion is preserved as it was. New answers, comments, and votes are closed.