Inherits AZ::Component, AZ::EntityBus::Handler, Physics::CharacterRequestBus::Handler, AzPhysics::SimulatedBodyComponentRequestsBus::Handler, AZ::TransformNotificationBus::Handler, CharacterControllerRequestBus::Handler, and Physics::CollisionFilteringRequestBus::Handler.
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | OnEntityActivated (const AZ::EntityId &entityId) override |
|
AZ::Vector3 | GetBasePosition () const override |
|
void | SetBasePosition (const AZ::Vector3 &position) override |
|
AZ::Vector3 | GetCenterPosition () const override |
|
float | GetStepHeight () const override |
|
void | SetStepHeight (float stepHeight) override |
|
AZ::Vector3 | GetUpDirection () const override |
|
void | SetUpDirection (const AZ::Vector3 &upDirection) override |
|
float | GetSlopeLimitDegrees () const override |
|
void | SetSlopeLimitDegrees (float slopeLimitDegrees) override |
|
float | GetMaximumSpeed () const override |
|
void | SetMaximumSpeed (float maximumSpeed) override |
|
AZ::Vector3 | GetVelocity () const override |
|
void | AddVelocityForTick (const AZ::Vector3 &velocity) override |
|
void | AddVelocityForPhysicsTimestep (const AZ::Vector3 &velocity) override |
|
bool | IsPresent () const override |
|
Physics::Character * | GetCharacter () override |
|
void | EnablePhysics () override |
|
void | DisablePhysics () override |
|
bool | IsPhysicsEnabled () const override |
|
AZ::Aabb | GetAabb () const override |
|
AzPhysics::SimulatedBody * | GetSimulatedBody () override |
|
AzPhysics::SimulatedBodyHandle | GetSimulatedBodyHandle () const override |
|
AzPhysics::SceneQueryHit | RayCast (const AzPhysics::RayCastRequest &request) override |
|
void | Resize (float height) override |
|
float | GetHeight () override |
|
void | SetHeight (float height) override |
|
float | GetRadius () override |
|
void | SetRadius (float radius) override |
|
float | GetHalfSideExtent () override |
|
void | SetHalfSideExtent (float halfSideExtent) override |
|
float | GetHalfForwardExtent () override |
|
void | SetHalfForwardExtent (float halfForwardExtent) override |
|
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
|
void | SetCollisionLayer (const AZStd::string &layerName, AZ::Crc32 colliderTag) override |
|
AZStd::string | GetCollisionLayerName () override |
|
void | SetCollisionGroup (const AZStd::string &groupName, AZ::Crc32 colliderTag) override |
|
AZStd::string | GetCollisionGroupName () override |
|
void | ToggleCollisionLayer (const AZStd::string &layerName, AZ::Crc32 colliderTag, bool enabled) override |
|
Component used to physically represent characters for basic interactions with the physical world, for example to prevent walking through walls or falling through terrain.