Bus for requests to the example character gameplay component.
More...
#include <CharacterGameplayBus.h>
Inherits ComponentBus.
Bus for requests to the example character gameplay component.
virtual float PhysX::CharacterGameplayRequests::GetGravityMultiplier |
( |
| ) |
const |
|
pure virtual |
Gets the gravity multipier. The gravity multiplier is combined with the gravity value for the physics world to which the character belongs when applying gravity to the character.
virtual void PhysX::CharacterGameplayRequests::SetFallingVelocity |
( |
const AZ::Vector3 & |
fallingVelocity | ) |
|
|
pure virtual |
Sets the falling velocity. An example where this might be used is if gravity is disabled during a jump animation (because the character is then completely animation-driven and the up and down movement comes from the animation), then when the jump finishes gravity is re-enabled and an initial downwards velocity is needed to match the end of the animation.
virtual void PhysX::CharacterGameplayRequests::SetGravityMultiplier |
( |
float |
gravityMultiplier | ) |
|
|
pure virtual |
Sets the gravity multipier. The gravity multiplier is combined with the gravity value for the physics world to which the character belongs when applying gravity to the character.
- Parameters
-
gravityMultiplier | The new gravity multiplier value. |
virtual void PhysX::CharacterGameplayRequests::SetGroundDetectionBoxHeight |
( |
float |
groundDetectionBoxHeight | ) |
|
|
pure virtual |
Sets the vertical size of the box used when checking for ground contact.
- Parameters
-
groundDetectionBoxHeight | The new ground detection box height value. |
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Include/PhysX/CharacterGameplayBus.h