Struct nphysics3d::joint::RevoluteConstraint[][src]

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

A constraint that removes all relative motions except one rotation between two body parts.

Methods

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

Create a new revolute constraint which ensures the provided axii and anchors always coincide.

All axii and achors are expressed in the local coordinate system of the corresponding body parts.

Trait Implementations

impl<N: Real> JointConstraint<N> for RevoluteConstraint<N>
[src]

The maximum number of velocity constraints generated by this joint.

The two body parts affected by this joint.

Initialize and retrieve all the constraints appied to the bodies attached to this joint.

Called after velocity constraint resolution, allows the joint to keep a cache of impulses generated for each constraint.

Return true if the constraint is active. Read more

impl<N: Real> NonlinearConstraintGenerator<N> for RevoluteConstraint<N>
[src]

Maximum of non-linear position constraint this generater needs to output.

Generate the i-th position constraint of this generator.

Auto Trait Implementations

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

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