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

Function createBox

physx/samples/samplebridges/SampleBridges.cpp:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static PxRigidActor* createBox( PxScene& scene, PxPhysics& physics,
165 const PxTransform& pose, const PxVec3& dimensions, const PxReal density, PxMaterial& m, const PxFilterData* fd, PxU32 flags)
166{
167 return createRigidActor(scene, physics, pose, PxBoxGeometry(dimensions), m, fd, &density, NULL, flags);
168}
169
170enum BridgeJoint
171{

Callers 6

buildBridgeFunction · 0.70
newShapeMethod · 0.70
onDigitalInputEventMethod · 0.50
createSeamineMethod · 0.50
createDynamicActorsMethod · 0.50
spawnDebugObjectMethod · 0.50

Calls 2

createRigidActorFunction · 0.70
PxBoxGeometryClass · 0.50

Tested by

no test coverage detected