usdrt/scenegraph/usd/forceFieldSchema/physxForceFieldSphericalAPI.h

In directory: usdrt/scenegraph/usd/forceFieldSchema

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

Classes

  • usdrt::ForceFieldSchemaPhysxForceFieldSphericalAPI: A spherical force field that attracts and/or repels rigid bodies from a central point 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 center.

Namespaces