Function physx_sys::phys_PxCreateDynamic
source · pub unsafe extern "C" fn phys_PxCreateDynamic(
sdk: *mut PxPhysics,
transform: *const PxTransform,
geometry: *const PxGeometry,
material: *mut PxMaterial,
density: f32,
shapeOffset: *const PxTransform
) -> *mut PxRigidDynamic
Expand description
simple method to create a PxRigidDynamic actor with a single PxShape.
a new dynamic actor with the PxRigidBodyFlag, or NULL if it could not be constructed