Obsolete Members for PhysicsWorld

The following members of QML type PhysicsWorld are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

enableCCD : bool [default: false, deprecated in 6.13]

This property is deprecated since QtQuick3D.Physics 6.13. We strongly advise against using it in new code.

Use DynamicRigidBody::ccd instead.

This property enables continuous collision detection globally for every dynamic body in the scene that does not explicitly set its own DynamicRigidBody::ccd mode. It reduces the risk of fast-moving bodies passing through geometry at high velocities (also known as tunnelling).

For non-kinematic dynamic bodies, enabling this property uses sweep-based CCD. For kinematic bodies, it automatically uses speculative CCD, as sweep-based CCD is not supported for them.

Continuous collision detection can also be configured per body via DynamicRigidBody::ccd, which avoids paying its performance cost for objects that do not need it.

Warning: Using trigger bodies with CCD enabled is not supported and can result in missing or false trigger reports.

See also DynamicRigidBody::ccd.