Class StylizedVehicleRotation
Inheritance
StylizedVehicleRotation
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
[HelpURL("http://localhost:8080/api/Holoride.ElasticSDK.StylizedVehicleRotation.html")]
public class StylizedVehicleRotation : BaseRotation
Fields
PitchFromLongAcceleration
Declaration
[Space]
[FormerlySerializedAs("LongitudinalAccelerationPitchCurve")]
[Tooltip("Defines how the absolute forward-backward acceleration (in m/s^2) affects the transform's signed pitch rotation around the x-axis (in degrees).")]
public AnimationCurve PitchFromLongAcceleration
Field Value
PitchSmoothingSeconds
Declaration
[Tooltip("The strength of the longitudinal motion smoothing. Note: This induces latency which might affect UX and motion sickness.")]
[SerializeField]
[Range(0, 3)]
public float PitchSmoothingSeconds
Field Value
RollFromLatAcceleration
Declaration
[Space]
[FormerlySerializedAs("LateralAccelerationRollCurve")]
[Tooltip("Defines how the absolute left-right acceleration (in m/s^2) affects the transform's signed roll rotation around the z-axis (in degrees).")]
public AnimationCurve RollFromLatAcceleration
Field Value
RollSmoothingSeconds
Declaration
[Tooltip("The strength of the lateral motion smoothing. Note: This induces latency which might affect UX and motion sickness.")]
[SerializeField]
[Range(0, 3)]
public float RollSmoothingSeconds
Field Value
Methods
UpdateEulerAngles()
Declaration
protected override Vector3 UpdateEulerAngles()
Returns
Overrides