Function physx_sys::PxPhysics_createShape_mut_1
source · pub unsafe extern "C" fn PxPhysics_createShape_mut_1(
self_: *mut PxPhysics,
geometry: *const PxGeometry,
materials: *const *mut PxMaterial,
materialCount: u16,
isExclusive: bool,
shapeFlags: PxShapeFlags
) -> *mut PxShape
Expand description
Creates a shape which may be attached to multiple actors
The shape will be created with a reference count of 1.
The shape
Shared shapes are not mutable when they are attached to an actor
Shapes created from SDF triangle-mesh geometries do not support more than one material.