pub unsafe extern "C" fn phys_PxCloneShape(
    physicsSDK: *mut PxPhysics,
    shape: *const PxShape,
    isExclusive: bool
) -> *mut PxShape
Expand description

create a shape by copying attributes from another shape

The function clones a PxShape. The following properties are copied:

  • geometry
  • flags
  • materials
  • actor-local pose
  • contact offset
  • rest offset
  • simulation filter data
  • query filter data
  • torsional patch radius
  • minimum torsional patch radius

The following are not copied and retain their default values:

  • name
  • user data

the newly-created rigid static