PxComputeUnconstrainedVelocities

Defined in include/PxImmediateMode.h

void PxComputeUnconstrainedVelocities(PxArticulationHandle articulation, const PxVec3 &gravity, const PxReal dt, const PxReal invLengthScale)

Computes unconstrained velocities for a given articulation.

Parameters
  • articulation[in] Articulation handle

  • gravity[in] Gravity vector

  • dt[in] Timestep

  • invLengthScale[in] 1/lengthScale from PxTolerancesScale.