oimo.dynamics.rigidbody

OimoPhysics API Documentation

..
MassData

This class holds mass and moment of inertia for a rigid body.

RigidBody

A rigid body. To add a rigid body to a physics world, create a RigidBody instance, create and add shapes via RigidBody.addShape, and add the rigid body to the physics world through World.addRigidBody. Rigid bodies have three motion types: dynamic, static, and kinematic. See RigidBodyType for details of motion types.

RigidBodyConfig

A rigid body configuration is used for constructions of rigid bodies. An instance of this class can safely be reused, as a rigid body will not have any references to a field of this class.

RigidBodyType

The list of a rigid body's motion types.

Shape

A shape is a component of a rigid body. It attaches a collision geometry to the parent rigid body with some physical properties such as coefficients of friction and restitution. The collision geometry can locally be transformed relative to the parent rigid body's center of gravity.

ShapeConfig

A shape configuration is used for construction of shapes. An instance of this class can safely be reused as a shape will not have any references of a field of this class.