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

#include <qphysicscommands_p.h>

+ Inheritance diagram for QPhysicsCommandApplyCentralForce:
+ Collaboration diagram for QPhysicsCommandApplyCentralForce:

Public Member Functions

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

Detailed Description

Definition at line 39 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandApplyCentralForce()

QPhysicsCommandApplyCentralForce::QPhysicsCommandApplyCentralForce ( const QVector3D & inForce)

Definition at line 17 of file qphysicscommands.cpp.

Member Function Documentation

◆ execute()

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

Implements QPhysicsCommand.

Definition at line 22 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: