usdrt/scenegraph/usd/forceFieldSchema/physxForceFieldPlanarAPI.h

In directory: usdrt/scenegraph/usd/forceFieldSchema

Source file: usdrt/scenegraph/usd/forceFieldSchema/physxForceFieldPlanarAPI.h

Classes

  • usdrt::ForceFieldSchemaPhysxForceFieldPlanarAPI: A planar force field that attracts and/or repels rigid bodies from a plane, defined by a point and normal vector, depending on the function coefficients. Positive values attract and negative values repel. The net force on the rigid body is calculated using f = constant + linear * r + inverseSquare / r^2, where r is the distance to the closest point on the plane.

Namespaces