Why aren't shoulders rotating after changing desired angle?
Asked by
2 years ago Edited 2 years ago
Hello. I am trying to fix a script for an old dance tool, but I have no idea what's wrong with it. The script animates the player by changing the desired angles and maximum velocities of the shoulders and hips. When I tried to use it, it did change the values, but nothing happened. Does anyone know why nothing is happening?
Here is one part of the code that changes the angles:
1 | RightShoulder.MaxVelocity = 0.35 |
2 | LeftShoulder.MaxVelocity = 0.35 |
4 | RightShoulder.DesiredAngle = - 3.14 |
5 | LeftShoulder.DesiredAngle = 0 |
6 | RightHip.DesiredAngle = 1.57 |
7 | LeftHip.DesiredAngle = 0 |
Edit: I should mention that the shoulders and hips are defined earlier in the code.