Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qphysxactorbody.cpp File Reference

(e306c2ff211e666463e960d8201743239fa934de)

#include "qphysxactorbody_p.h"
#include "PxMaterial.h"
#include "PxPhysics.h"
#include "PxRigidDynamic.h"
#include "PxRigidActor.h"
#include "PxScene.h"
#include "physxnode/qphysxworld_p.h"
#include "qabstractphysicsbody_p.h"
#include "qheightfieldshape_p.h"
#include "qphysicsutils_p.h"
#include "qplaneshape_p.h"
#include "qstaticphysxobjects_p.h"
+ Include dependency graph for qphysxactorbody.cpp:

Go to the source code of this file.

Macros

#define PHYSX_RELEASE(x)
 

Functions

static QT_BEGIN_NAMESPACE physx::PxTransform getPhysXLocalTransform (const QQuick3DNode *node)
 

Macro Definition Documentation

◆ PHYSX_RELEASE

#define PHYSX_RELEASE ( x)
Value:
if (x != nullptr) { \
x->release(); \
x = nullptr; \
}
GLint GLint GLint GLint GLint x
[0]

Definition at line 19 of file qphysxactorbody.cpp.

Function Documentation

◆ getPhysXLocalTransform()

static QT_BEGIN_NAMESPACE physx::PxTransform getPhysXLocalTransform ( const QQuick3DNode * node)
static

Definition at line 27 of file qphysxactorbody.cpp.

References QPhysicsUtils::kMinus90YawRotation, QQuick3DNode::position, QQuick3DNode::rotation, QQuick3DNode::sceneScale, and QPhysicsUtils::toPhysXType().

Referenced by QPhysXActorBody::buildShapes(), and QPhysXActorBody::markDirtyShapes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: