A type of constraint that only allows rotation. See also: ConstraintComponent.
Example
// Create a constraint on an object varpointConstraint = hingeObj.createComponent("Physics.ConstraintComponent");
// Set up options on that constraint pointConstraint.debugDrawEnabled = true; pointConstraint.constraint = Physics.Constraint.create(Physics.ConstraintType.Point);
A type of constraint that only allows rotation. See also: ConstraintComponent.
Example