Restricts a body to move in a plane that is fixed on another body.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.5.0.0 (1.5.0.9503)

Syntax

C#
public class PointOnPlaneConstraint : Constraint
Visual Basic
Public Class PointOnPlaneConstraint _
	Inherits Constraint
Visual C++
public ref class PointOnPlaneConstraint : public Constraint

Remarks

A plane is fixed on BodyA. The plane goes through AnchorPositionALocal and is defined by the two axes XAxisALocal and YAxisALocal that are also fixed on the first body. The point AnchorPositionBLocal on the second body can only move in this plane.

This constraint removes 1 translational degree of movement (the movement normal to the plane). It does not restrict rotational movement.

Inheritance Hierarchy

System..::..Object
  DigitalRune.Physics.Constraints..::..Constraint
    DigitalRune.Physics.Constraints..::..PointOnPlaneConstraint

See Also