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]

Creates a ball-in-socket joint.

Tells if this joint has been modified by the user.

Sets the the second anchor position.

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

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]

The first anchor affected by this joint.

The second anchor affected by this joint.

The first attach point in global coordinates.

The second attach point in global coordinates.