Function physx_sys::PxArticulationSensor_setFlag_mut
source · pub unsafe extern "C" fn PxArticulationSensor_setFlag_mut(
self_: *mut PxArticulationSensor,
flag: PxArticulationSensorFlag,
enabled: bool
)
Expand description
Sets a flag of the sensor.
Setting the sensor flags is not allowed while the articulation is in a scene. In order to set the flags, remove and then re-add the articulation to the scene.