PhysicsNode QML Type | Qt Quick 3D Physics 6.7.3 (original) (raw)
Base type for all objects in the physics scene. More...
Properties
- collisionShapes : list
- filterGroup : int
- filterIgnoreGroups : int
- receiveContactReports : bool
- receiveTriggerReports : bool
- sendContactReports : bool
- sendTriggerReports : bool
Signals
- bodyContact(PhysicsNode *body, list positions, list impulses, list normals)
- enteredTriggerBody(TriggerBody *body)
- exitedTriggerBody(TriggerBody *body)
Detailed Description
PhysicsNode is the base type for all the objects that take part in the physics simulation. These objects have a position in three-dimensional space and a geometrical shape.
Property Documentation
This property contains the list of collision shapes. These shapes will be combined and act as a single rigid body when interacting with other bodies.
See also Shapes and Bodies overview documentation.
This property determines what groups this body should filter out collisions with.
Note: This number is interpreted as a bitmask, meaning that if bit i
is set then collisions with filterGroup number i
will be filtered. For instance, to filter groups 1
, 3
and 4
then set the value to 0b11010
.
See also PhysicsNode::filterGroup.
receiveContactReports : bool
This property determines whether this body will receive contact reports when colliding with other bodies. If activated, this means that the bodyContact signal will be emitted on a collision with a body that has sendContactReports set to true.
receiveTriggerReports : bool
This property determines whether this body will receive reports when entering or leaving a trigger body.
sendContactReports : bool
This property determines whether this body will send contact reports when colliding with other bodies.
sendTriggerReports : bool
This property determines whether this body will send reports when entering or leaving a trigger body.
Signal Documentation
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.