PxComputeUnconstrainedVelocities

Defined in include/PxImmediateMode.h

void PxComputeUnconstrainedVelocities(PxArticulationHandle articulation, const PxVec3 &gravity, PxReal dt, 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.