PDA

View Full Version : How do you align forces with active body local coordinates?


SumoPixel
06-13-2004, 02:03 AM
I am trying to attach a uniform field to an active body so that the direction of force is always aligned with the direction the active body is pointing so that it acts like a motor on a motorboat.

I can't figure out any way to do this other than using a fairly complicated MEL script to calculate a unit direction vector aligned with the active body and plugging it into the force direction attribute.

I am thinking that there must be a much easier way to do this, but I can't figure out what it is. Does anyone have a suggestion?

Thanks in advance.

CGTalk Moderation
01-18-2006, 11:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.