usdrt/scenegraph/usd/forceFieldSchema/physxForceFieldLinearAPI.h

In directory: usdrt/scenegraph/usd/forceFieldSchema

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

Classes

  • usdrt::ForceFieldSchemaPhysxForceFieldLinearAPI: A linear force field that attracts and/or repels rigid bodies from a line, defined by a point and direction 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 line.

Namespaces