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.
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.
