A desired linear and angular amount of acceleration requested by the steering system.
Type | Name |
---|---|
Vector3 | linear |
float | angular |
Type | Name |
---|---|
void | func set_zero() -> void |
void | func add_scaled_accel(accel: GSAITargetAcceleration, scalar: float) -> void |
float | func get_magnitude_squared() -> float |
float | func get_magnitude() -> float |
var linear: Vector3
Linear acceleration
var angular: float
Angular acceleration
func set_zero() -> void
Sets the linear and angular components to 0.
func add_scaled_accel(accel: GSAITargetAcceleration, scalar: float) -> void
Adds accel
’s components, multiplied by scalar
, to this one.
func get_magnitude_squared() -> float
Returns the squared magnitude of the linear and angular components.
func get_magnitude() -> float
Returns the magnitude of the linear and angular components.