#include <ForceRegionComponent.h>
Inherits AZ::Component, Physics::RigidBodyNotificationBus::Handler, and AzFramework::EntityDebugDisplayEventBus::Handler.
Public Member Functions | |
| AZ_COMPONENT (ForceRegionComponent, ForceRegionComponentTypeId) | |
| ForceRegionComponent (ForceRegion &&forceRegion, bool debug) | |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Static Protected Member Functions | |
| static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
ForceRegionComponent Applies a forces to objects within a region. Uses a PhysX trigger collider to receive notifications about entities entering and exiting the region. A net force will be calculated per entity by summing all the attached forces on each tick.