![]() |
Qt 6.x
The Qt SDK
|
Public Attributes | |
physx::PxRigidActor * | actor = nullptr |
![]() | |
QVector< physx::PxShape * > | shapes |
physx::PxMaterial * | material = nullptr |
QAbstractPhysicsNode * | frontendNode = nullptr |
bool | isRemoved = false |
Additional Inherited Members | |
![]() | |
static physx::PxMaterial * | defaultMaterial = nullptr |
Definition at line 591 of file qphysicsworld.cpp.
|
inline |
Definition at line 594 of file qphysicsworld.cpp.
void QPhysXActorBody::buildShapes | ( | PhysXWorld * | physX | ) |
Definition at line 844 of file qphysicsworld.cpp.
References actor, QAbstractPhysXNode::frontendNode, QAbstractPhysicsNode::getCollisionShapesList(), getPhysXLocalTransform(), QAbstractPhysXNode::material, StaticPhysXObjects::physics, PHYSX_RELEASE, s_physx, QAbstractPhysXNode::shapes, and QAbstractPhysXNode::useTriggerFlag().
Referenced by rebuildDirtyShapes(), and QPhysXDynamicBody::rebuildDirtyShapes().
|
inlineoverridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 595 of file qphysicsworld.cpp.
References actor, QAbstractPhysXNode::cleanup(), PHYSX_RELEASE, and PhysXWorld::scene.
|
virtual |
Reimplemented in QPhysXStaticBody.
Definition at line 713 of file qphysicsworld.cpp.
References actor, QAbstractPhysXNode::frontendNode, getPhysXWorldTransform(), StaticPhysXObjects::physics, and s_physx.
Referenced by init().
|
inlineoverridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 609 of file qphysicsworld.cpp.
|
inlineoverridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 610 of file qphysicsworld.cpp.
References actor.
|
overridevirtual |
Implements QAbstractPhysXNode.
Definition at line 725 of file qphysicsworld.cpp.
References actor, createActor(), QAbstractPhysXNode::createMaterial(), QAbstractPhysXNode::frontendNode, Q_ASSERT, PhysXWorld::scene, and QAbstractPhysXNode::setShapesDirty().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 813 of file qphysicsworld.cpp.
References actor, QAbstractPhysXNode::frontendNode, fuzzyEquals(), QAbstractPhysicsNode::getCollisionShapesList(), getPhysXLocalTransform(), i, QAbstractPhysXNode::setShapesDirty(), QAbstractPhysXNode::shapes, and QAbstractPhysXNode::shapesDirty().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Reimplemented in QPhysXDynamicBody.
Definition at line 874 of file qphysicsworld.cpp.
References buildShapes(), QAbstractPhysXNode::setShapesDirty(), and QAbstractPhysXNode::shapesDirty().
|
overridevirtual |
Implements QAbstractPhysXNode.
Reimplemented in QPhysXStaticBody, QPhysXDynamicBody, and QPhysXTriggerBody.
Definition at line 1021 of file qphysicsworld.cpp.
References QAbstractPhysXNode::frontendNode, QAbstractPhysXNode::material, and updatePhysXMaterial().
Referenced by QPhysXStaticBody::sync(), and QPhysXDynamicBody::sync().
physx::PxRigidActor* QPhysXActorBody::actor = nullptr |
Definition at line 613 of file qphysicsworld.cpp.
Referenced by buildShapes(), cleanup(), createActor(), QPhysXStaticBody::createActor(), QPhysXDynamicBody::getDebugDrawBodyType(), getGlobalPose(), init(), markDirtyShapes(), QPhysXDynamicBody::rebuildDirtyShapes(), QPhysXStaticBody::sync(), QPhysXDynamicBody::sync(), and QPhysXTriggerBody::sync().