Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::ForceRegionNotifications Class Reference

#include <ForceRegionComponentBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void OnCalculateNetForce (AZ::EntityId forceRegionEntityId, AZ::EntityId targetEntityId, const AZ::Vector3 &netForceDirection, float netForceMagnitude)
 Dispatched when force region computes net force to send impulse on entity.
 
virtual void OnForceRegionForceChanged (AZ::EntityId forceRegionEntityId)
 Dispatched when any force in force region is changed.
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 

Detailed Description

Notifications from force regions. This does not need to be a multi address bus currently as no components are listening to force region events. Only a global behavior handler is listening and forwarding force region events to script canvas.


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