net.sf.j3d.physics
Interface RigidBody
- All Known Implementing Classes:
- Plane, Sphere
public interface RigidBody
The RigidBody class stores state information for a simulated object.
This includes location, rotation, linear and angular momentum and the corresponding
rates, linear and angular velocity, force, and torque.
- Author:
- Mike Murray
intersect
Vector[] intersect(RigidBody b)
- Performs intersection calculations for this RigidBody object and the specified RigidBody object.
- Returns:
- {intersection point, normal to intersection} or a zero length array if there is no intersection.
draw
void draw(Camera c,
Graphics g,
double ox,
double oy,
double scale)
updateModel
void updateModel()
getState
RigidBody.State getState()