#include <ConveyorBeltComponent.h>
Inherits AZ::Component, AZ::TickBus::Handler, AZ::EntityBus::Handler, and WarehouseAutomation::ConveyorBeltRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (ConveyorBeltComponent, "{B7F56411-01D4-48B0-8874-230C58A578BD}") | |
void | Activate () override |
void | Deactivate () override |
Static Public Member Functions | |
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
static void | Reflect (AZ::ReflectContext *context) |
Component that simulates a conveyor belt using kinematic physics. The conveyor belt is simulated using a spline and number of kinematic rigid bodies. The kinematic rigid bodies have their kinematic targets set to interpolate along the spline. The component is updating kinematic targets every physic sub-step and creates and despawns rigid bodies as needed.