MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / setBreakForce

Method setBreakForce

physx/source/physx/src/NpConstraint.cpp:279–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void NpConstraint::setBreakForce(PxReal linear, PxReal angular)
280{
281 NP_WRITE_CHECK(getNpScene());
282 PX_SIMD_GUARD;
283 mConstraint.setBreakForce(linear, angular);
284}
285
286void NpConstraint::getBreakForce(PxReal& linear, PxReal& angular) const
287{

Callers 5

createBreakableFixedFunction · 0.45
buildBridgeFunction · 0.45
setPxJoint_BreakForceFunction · 0.45

Calls 1

getNpSceneFunction · 0.85

Tested by

no test coverage detected