Skip to main content

Interface ISteerable

Exposes the current steering amount and accepts a steering input, letting both the AI steering-behaviour chain and camera-effect components read or write steer state through a common contract.

public interface ISteerable

Remarks​

DrivingCameraEffector reads SteerAmount each frame to offset the camera aim target laterally, producing a cornering-lean effect. Exposing it through an interface rather than a direct reference keeps the camera subsystem decoupled from the concrete controller implementation.

Properties​

SteerAmount​

Gets the current steering amount, normalized to the range [-1, 1].

float SteerAmount { get; }

Property Value​

float

Methods​

SetSteerInput(float)​

Sets the steering input value.

void SetSteerInput(float input)

Parameters​

NameTypeDescription
inputfloatThe input value representing steering direction and magnitude.