Px1DConstraint Struct Reference
[Physics]
A constraint.
More...
#include <PxConstraintDesc.h>

Detailed Description
A constraint.A constraint is expressed as a set of 1-dimensional constraint rows which define the required constraint on the objects' velocities.
Given these definitions, the solver attempts to generate
1. a set of velocities for the objects which, when integrated, respect the constraint errors: body0vel.dot(lin0,ang0) - body1vel.dot(lin1, ang1) + (geometricError / timestep) = velocityTarget
2. a set of velocities for the objects which respect the constraints: body0vel.dot(lin0,ang0) - body1vel.dot(lin1, ang1) = velocityTarget
Alternatively, the solver can attempt to resolve the velocity constraint as an implicit spring:
F = spring * -geometricError + damping * (velocityTarget - body0vel.dot(lin0,ang0) + body1vel.dot(lin1, ang1))
where F is the constraint force, or as an acceleration spring where acceleration replaces force.
Member Data Documentation
The documentation for this struct was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com