Extends: GSAIAgentLocation
Adds velocity, speed, and size data to GSAIAgentLocation
.
It is the character’s responsibility to keep this information up to date for the steering toolkit to work correctly.
Type | Name |
---|---|
float | zero_linear_speed_threshold |
float | linear_speed_max |
float | linear_acceleration_max |
float | angular_speed_max |
float | angular_acceleration_max |
Vector3 | linear_velocity |
float | angular_velocity |
float | bounding_radius |
bool | is_tagged |
var zero_linear_speed_threshold: float
The amount of velocity to be considered effectively not moving.
var linear_speed_max: float
The maximum speed at which the agent can move.
var linear_acceleration_max: float
The maximum amount of acceleration that any behavior can apply to the agent.
var angular_speed_max: float
The maximum amount of angular speed at which the agent can rotate.
var angular_acceleration_max: float
The maximum amount of angular acceleration that any behavior can apply to an agent.
var linear_velocity: Vector3
Current velocity of the agent.
var angular_velocity: float
Current angular velocity of the agent.
var bounding_radius: float
The radius of the sphere that approximates the agent’s size in space.
var is_tagged: bool
Used internally by group behaviors and proximities to mark the agent as already considered.