NVIDIAGameWorks / PhysX

NVIDIA PhysX SDK
Other
3.11k stars 793 forks source link

PxRigidDynamic::setKinematicSurfaceVelocity() is missing #611

Open fredUmlaut opened 1 year ago

fredUmlaut commented 1 year ago

PxRigidDynamic::setKinematicSurfaceVelocity() is described in the Physx 4.1 documentation but is missing in the sources.

I would need the method to instant move a kinematic body and have correct velocities reported for that frame. (so PxRigidDynamic::setGlobalPose + PxRigidDynamic::setKinematicSurfaceVelocity()).

I currently use PxRigidDynamic::setKinematicSurfaceVelocity but this introduces a one frame delay in comparison to PxRigidDynamic::setGlobalPose.