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

#include <qphysicscommands_p.h>

Inheritance diagram for QPhysicsCommandApplyCentralForce:
Collaboration diagram for QPhysicsCommandApplyCentralForce:

Public Member Functions

 QPhysicsCommandApplyCentralForce (const QVector3D &inForce)
 ~QPhysicsCommandApplyCentralForce () 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 41 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandApplyCentralForce()

QPhysicsCommandApplyCentralForce::QPhysicsCommandApplyCentralForce ( const QVector3D & inForce)
explicit

Definition at line 23 of file qphysicscommands.cpp.

References QPhysicsCommandApplyCentralForce().

Referenced by QPhysicsCommandApplyCentralForce().

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

◆ ~QPhysicsCommandApplyCentralForce()

QPhysicsCommandApplyCentralForce::~QPhysicsCommandApplyCentralForce ( )
overridedefault

Member Function Documentation

◆ execute()

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

Implements QPhysicsCommand.

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