Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qphysxcharactercontroller.cpp File Reference

(d432669a03b0afbd335817e5f061134bd4e8499e)

#include "qphysxcharactercontroller_p.h"
#include "PxRigidDynamic.h"
#include "PxShape.h"
#include "characterkinematic/PxController.h"
#include "characterkinematic/PxControllerManager.h"
#include "characterkinematic/PxCapsuleController.h"
#include "qcapsuleshape_p.h"
#include "qfilterdata_p.h"
#include "qphysicsutils_p.h"
#include "qphysicsworld_p.h"
#include "qcharactercontroller_p.h"
Include dependency graph for qphysxcharactercontroller.cpp:

Go to the source code of this file.

Classes

class  ControllerCallback
class  ControllerFilter

Macros

#define PHYSX_RELEASE(x)

Functions

static QT_BEGIN_NAMESPACE physx::PxControllerNonWalkableMode::Enum toPhysXNonWalkableMode (bool slideOnSteepSlopes)
static float toPhysXSlopeLimit (float degrees)
static float resolveStepOffset (float maximumStepHeight, float heightheight, float radius, float current=-1.f)
static physx::PxShape * shapeOf (const physx::PxController &controller)

Macro Definition Documentation

◆ PHYSX_RELEASE

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

Definition at line 19 of file qphysxcharactercontroller.cpp.

Function Documentation

◆ resolveStepOffset()

float resolveStepOffset ( float maximumStepHeight,
float height,
float radius,
float current = -1.f )
static

Definition at line 47 of file qphysxcharactercontroller.cpp.

◆ shapeOf()

physx::PxShape * shapeOf ( const physx::PxController & controller)
static

Definition at line 119 of file qphysxcharactercontroller.cpp.

◆ toPhysXNonWalkableMode()

QT_BEGIN_NAMESPACE physx::PxControllerNonWalkableMode::Enum toPhysXNonWalkableMode ( bool slideOnSteepSlopes)
static

Definition at line 27 of file qphysxcharactercontroller.cpp.

◆ toPhysXSlopeLimit()

float toPhysXSlopeLimit ( float degrees)
static

Definition at line 36 of file qphysxcharactercontroller.cpp.