![]() |
Qt 6.x
The Qt SDK
|
#include <qphysicscommands_p.h>
Inheritance diagram for QPhysicsCommandSetMassAndInertiaMatrix:
Collaboration diagram for QPhysicsCommandSetMassAndInertiaMatrix:Public Member Functions | |
| QPhysicsCommandSetMassAndInertiaMatrix (float inMass, const QMatrix3x3 &inInertia) | |
| void | execute (const QDynamicRigidBody &rigidBody, physx::PxRigidBody &body) override |
Public Member Functions inherited from QPhysicsCommand | |
| virtual | ~QPhysicsCommand ()=default |
| virtual void | execute (const QDynamicRigidBody &rigidBody, physx::PxRigidBody &body)=0 |
Definition at line 142 of file qphysicscommands_p.h.
| QPhysicsCommandSetMassAndInertiaMatrix::QPhysicsCommandSetMassAndInertiaMatrix | ( | float | inMass, |
| const QMatrix3x3 & | inInertia | ||
| ) |
Definition at line 162 of file qphysicscommands.cpp.
|
overridevirtual |
Implements QPhysicsCommand.
Definition at line 168 of file qphysicscommands.cpp.
References QDynamicRigidBody::centerOfMassPosition, QAbstractPhysicsNode::hasStaticShapes(), qWarning, and QPhysicsUtils::toPhysXType().
Here is the call graph for this function: