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
QPhysicsCommandApplyTorque Class Reference

#include <qphysicscommands_p.h>

+ Inheritance diagram for QPhysicsCommandApplyTorque:
+ Collaboration diagram for QPhysicsCommandApplyTorque:

Public Member Functions

 QPhysicsCommandApplyTorque (const QVector3D &inTorque)
 
void execute (const QDynamicRigidBody &rigidBody, physx::PxRigidBody &body) override
 
- Public Member Functions inherited from QPhysicsCommand
virtual ~QPhysicsCommand ()=default
 

Detailed Description

Definition at line 60 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandApplyTorque()

QPhysicsCommandApplyTorque::QPhysicsCommandApplyTorque ( const QVector3D & inTorque)

Definition at line 47 of file qphysicscommands.cpp.

Member Function Documentation

◆ execute()

void QPhysicsCommandApplyTorque::execute ( const QDynamicRigidBody & rigidBody,
physx::PxRigidBody & body )
overridevirtual

Implements QPhysicsCommand.

Definition at line 52 of file qphysicscommands.cpp.

References isKinematicBody(), Q_UNUSED, and QPhysicsUtils::toPhysXType().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: