Angular drive doesn't work with locked motions
I'm trying to create a physics constraint using the Physics Asset Tool. I've noticed that the Angular Motor doesn't seem to work if one or more angular motions are locked.
To reproduce this:
Is this the expected behaviour? Setting the locked motions as Limited or Free makes the motor work, but I'd like to keep them locked if possible.
asked Jun 07 '14 at 10:59 PM in Bug Reports
This behavior is expected. The reason is that under the hood PhysX will ignore the motor if you have any degrees of freedom locked: docs
Depending on the effect you're trying to achieve you could use soft spring limits which are found under angular limits. These will work as traditional springs though, meaning that velocity motors will not work.
If you have access to the code you could try playing with the angular motor mode. We are using SLERP, which is the only case where angular motors will be turned off. If you change this to Swing & Twist you would have better luck, though I don't know the full implications of this.
I may take a look at this at some point and see if we can switch to it so that this case is no longer a problem.
Please let me know if you run into any more issues.
answered Jun 11 '14 at 09:26 PM
[Epic]Ori Cohen STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here