Struct nphysics2d::detection::joint::BallInSocket [] [src]

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

A ball-in-socket joint.

This is usually used to create ragdolls.

Methods

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

[src]

Creates a ball-in-socket joint.

[src]

Tells if this joint has been modified by the user.

[src]

Sets the the second anchor position.

The position is expressed in the second attached body’s local coordinates.

[src]

Sets the the second anchor position.

The position is expressed in the second attached body’s local coordinates.

Trait Implementations

impl<N: Real> Joint<N, Point<N>> for BallInSocket<N>
[src]

[src]

The first anchor affected by this joint.

[src]

The second anchor affected by this joint.

[src]

The first attach point in global coordinates.

[src]

The second attach point in global coordinates.