Struct · Ara
FollowCamera
Third-person orbit rig: places this entity behind target, steered by Look.
public struct FollowCamera : IComponent<FollowCamera>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Target
public string Target;Followed entity.
Default: null.
Distance
public float Distance;Orbit distance from the aim point; the boom stops in front of static box colliders.
Unit: m. Range: [0.1, ∞]. Default: 5.
Height
public float Height;Aim point height above the target's origin.
Unit: m. Default: 0.8.
Yaw
public float Yaw;Orbit yaw; 0 looks along +Z. Simulation state driven by Look.
Unit: deg. Default: 0.
Pitch
public float Pitch;Orbit pitch above the horizon; simulation state driven by Look.
Unit: deg. Range: [-80, 80]. Default: 20.
Sensitivity
public float Sensitivity;Look sensitivity: degrees per tick at full axis deflection.
Unit: deg. Range: [0, ∞]. Default: 2.5.
Player
public ulong Player;Input owner whose Look action steers the rig.
Default: 1.
Methods
Access
public static ref FollowCamera Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in FollowCamera value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.