11#include "PxMaterial.h"
14#define PHYSX_RELEASE(x) \
26 Q_ASSERT(node->m_backendObject ==
nullptr);
27 node->m_backendObject =
this;
62 material = s_physx.physics->createMaterial(qtMaterial->staticFriction(),
63 qtMaterial->dynamicFriction(),
64 qtMaterial->restitution());
virtual void updateDefaultDensity(float density)
QAbstractPhysicsNode * frontendNode
bool filtersDirty() const
QVector< physx::PxShape * > shapes
virtual void cleanup(QPhysXWorld *)
physx::PxMaterial * material
static physx::PxMaterial * sDefaultMaterial
QAbstractPhysXNode(QAbstractPhysicsNode *node)
virtual void rebuildDirtyShapes(QPhysicsWorld *, QPhysXWorld *)
void setShapesDirty(bool dirty)
virtual bool debugGeometryCapability()
virtual void updateFilters()
virtual ~QAbstractPhysXNode()
void createMaterialFromQtMaterial(QPhysXWorld *physX, QPhysicsMaterial *qtMaterial)
virtual physx::PxTransform getGlobalPose()
virtual void markDirtyShapes()
virtual DebugDrawBodyType getDebugDrawBodyType()
void setFiltersDirty(bool dirty)
virtual void createMaterial(QPhysXWorld *physX)
bool cleanupIfRemoved(QPhysXWorld *physX)
virtual bool useTriggerFlag()
static constexpr float defaultDynamicFriction
static constexpr float defaultStaticFriction
static constexpr float defaultRestitution
Combined button and popup list for selecting options.
static StaticPhysXObjects & getReference()