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

#include <qphysicscommands_p.h>

Inheritance diagram for QPhysicsCommandApplyForce:
Collaboration diagram for QPhysicsCommandApplyForce:

Public Member Functions

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

Detailed Description

Definition at line 53 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandApplyForce()

QPhysicsCommandApplyForce::QPhysicsCommandApplyForce ( const QVector3D & inForce,
const QVector3D & inPosition )
explicit

Definition at line 40 of file qphysicscommands.cpp.

References QPhysicsCommandApplyForce().

Referenced by QPhysicsCommandApplyForce().

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

◆ ~QPhysicsCommandApplyForce()

QPhysicsCommandApplyForce::~QPhysicsCommandApplyForce ( )
overridedefault

Member Function Documentation

◆ execute()

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

Implements QPhysicsCommand.

Definition at line 49 of file qphysicscommands.cpp.

References isKinematicBody().

Here is the call graph for this function:

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