From: Ben S. <bs...@vr...> - 2002-09-23 22:13:07
|
Chad Austin wrote: > How do apply a rotational force to an object? I just made the enemies move > around kinda cooler, but they look funny when they suddenly change direction. The function you're looking for is RigidBody::addForce(force, pos). Someday this will apply a torque at the specific position on the body. However, at this time it is not implemented because we don't have a good way to calculate inertia tensors for each body. Feel free to do this. ^_^ cheers, ----- Ben Scott Research Assistant VRAC bs...@ia... |