Struct nphysics3d::object::RigidBody[][src]

pub struct RigidBody<N: Real> { /* fields omitted */ }

A rigid body.

Methods

impl<N: Real> RigidBody<N>
[src]

Create a new rigid body with the specified handle and dynamic properties.

Informations regarding activation and deactivation (sleeping) of this rigid body.

Mutable informations regarding activation and deactivation (sleeping) of this rigid body.

Force the activation of this rigid body.

Force the activation of this rigid body with the given level of energy.

Put this rigid body to sleep.

Return true if this rigid body is kinematic or dynamic and awake.

The status of this rigid body.

Set the status of this body.

The companion ID of this rigid body.

Set the companion ID of this rigid body.

This value may be overriden by nphysics during a timestep.

Whether or not the status of this rigid body is dynamic.

Whether or not the status of this rigid body is static.

Whether or not the status of this rigid body is kinematic.

The center of mass of this rigid body.

The velocity of this rigid body.

Set the velocity of this rigid body.

Set the linear velocity of this rigid body.

Set the angular velocity of this rigid body.

Reset the timestep-specific dynamic information of this rigid body.

Update the timestep-specific dynamic information of this rigid body.

The rigid body inertia in local-space.

The rigid body inertia in world-space.

The augmented mass (inluding gyroscropic terms) in world-space of this rigid body.

The inverse augmented mass (inluding gyroscropic terms) in world-space of this rigid body.

The handle of this rigid body.

The number of degrees of freedom of this rigid body.

The generalized velocities of this rigid body.

The mutable generalized velocities of this rigid body.

The generalized accelerations at each degree of freedom of this rigid body.

Integrate the position of this rigid body.

Apply a displacement to this rigid body.

Note that the applied displacement is given by displacement multiplied by a time equal to 1.0.

Apply a force to this rigid body for the next timestep.

The position of this rigid body wrt. the ground.

Convert a force applied to this rigid body center of mass into generalized force.

Convert generalized forces applied to this rigid body into generalized accelerations.

Convert a force applied to this rigid body's center of mass into generalized accelerations.

Auto Trait Implementations

impl<N> Send for RigidBody<N> where
    N: Scalar

impl<N> Sync for RigidBody<N> where
    N: Scalar