About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Applying Force to Part of an Object
Author Message
andargor Offline
Member

Post: #1
Applying Force to Part of an Object
Is it possible to apply force to part of an object? For example, in zero G, if force is applied to the corner of one of the faces of a cube, it will spin.

How would I go about doing that? Creating a multi part object and applying the force to the parts?
04-25-2011 06:16 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #2
RE: Applying Force to Part of an Object
That could work. You can also specify the position of where the force/impulse should be applied.

Code:
Actor& addForce  (Vec &force,   Vec &pos);
Actor& addImpulse(Vec &impulse, Vec &pos);
04-25-2011 08:06 AM
Find all posts by this user Quote this message in a reply
andargor Offline
Member

Post: #3
RE: Applying Force to Part of an Object
(04-25-2011 08:06 AM)Driklyn Wrote:  That could work. You can also specify the position of where the force/impulse should be applied.

Code:
Actor& addForce  (Vec &force,   Vec &pos);
Actor& addImpulse(Vec &impulse, Vec &pos);

Aha! Didn't see that, thanks!
04-25-2011 04:44 PM
Find all posts by this user Quote this message in a reply
Post Reply