|
Open 3D Engine PhysX Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Requests serviced by all forces used by force regions. More...
#include <ForceRegionForces.h>
Inherited by PhysX::ForceLinearDamping, PhysX::ForceLocalSpace, PhysX::ForcePoint, PhysX::ForceSimpleDrag, PhysX::ForceSplineFollow, and PhysX::ForceWorldSpace.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (BaseForce, AZ::SystemAllocator) | |
| AZ_RTTI (BaseForce,"{0D1DFFE1-16C1-425B-972B-DC70FDC61B56}") | |
| virtual void | Activate (AZ::EntityId entityId) |
| Connect to any buses. | |
| virtual void | Deactivate () |
| Disconnect from any buses. | |
| virtual AZ::Vector3 | CalculateForce (const EntityParams &entityParams, const RegionParams &volumeParams) const =0 |
| Calculate the size and direction the force. | |
Static Public Member Functions | |
| static void | Reflect (AZ::SerializeContext &context) |
Protected Member Functions | |
| void | NotifyChanged () |
Protected Attributes | |
| AZ::EntityId | m_entityId |
Requests serviced by all forces used by force regions.