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

Why won't Motor6D's DesiredAngle work?

Asked by
pidgey 548 Moderation Voter
5 years ago
Edited 5 years ago

I’m trying to recover an old Motor6D animation. It uses Motor6D’s DesiredAngle property. I fixed and cleaned up the code for FE use, however, the motor’s aren’t turning at all when the script is ran.

1--when the tool is activated, it calls a function which runs this code (theres more, but this is the just of it)
2RightShoulder.MaxVelocity = 0.35
3LeftShoulder.MaxVelocity = 0.35
4 
5RightShoulder.DesiredAngle = -0.8
6LeftShoulder.DesiredAngle = 0.8
7RightHip.DesiredAngle = 1.57
8LeftHip.DesiredAngle = 1.57

All references are from the player’s Torso - character’s are also set to R6. Are other scripts/animations overlapping thus preventing results to be shown? Is changing these properties even effecting the character?

Answer this question