holoride
Search Results for

    Show / Hide Table of Contents

    Class FloatingPlatform

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    FloatingPlatform
    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.Runtime.dll
    Syntax
    [HelpURL("http://localhost:8080/api/Holoride.ElasticSDK.FloatingPlatform.html")]
    public class FloatingPlatform : MonoBehaviour

    Fields

    LateralAccelerationRollCurve

    Defines how the absolute left-right acceleration (in m/s^2) affects the transform's signed roll rotation around the z-axis (in degrees).

    Declaration
    [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 LateralAccelerationRollCurve
    Field Value
    Type Description
    AnimationCurve

    LateralAccelerationSmoothingCount

    The strength of the lateral motion smoothing. Note: This induces latency which might affect UX and motion sickness.

    Declaration
    [Tooltip("The strength of the lateral motion smoothing. Note: This induces latency which might affect UX and motion sickness.")]
    [SerializeField]
    [Range(1, 100)]
    public int LateralAccelerationSmoothingCount
    Field Value
    Type Description
    int

    LongitudinalAccelerationPitchCurve

    Defines how the absolute forward-backward acceleration (in m/s^2) affects the transform's signed pitch rotation around the x-axis (in degrees).

    Declaration
    [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 LongitudinalAccelerationPitchCurve
    Field Value
    Type Description
    AnimationCurve

    LongitudinalAccelerationSmoothingCount

    The strength of the longitudinal motion smoothing. Note: This induces latency which might affect UX and motion sickness.

    Declaration
    [Tooltip("The strength of the longitudinal motion smoothing. Note: This induces latency which might affect UX and motion sickness.")]
    [SerializeField]
    [Range(1, 100)]
    public int LongitudinalAccelerationSmoothingCount
    Field Value
    Type Description
    int

    Methods

    MapLateralAccelerationToRoll(float)

    The function to map the lateral acceleration from the sensors to the roll rotation of the floating platform.

    Declaration
    public float MapLateralAccelerationToRoll(float lateralAcceleration)
    Parameters
    Type Name Description
    float lateralAcceleration

    The smoothed lateral acceleration in m/s^2 coming from the coming from the sensors.

    Returns
    Type Description
    float

    The roll rotation in degrees.

    MapLongitudinalAccelerationToPitch(float)

    The function to map the longitudinal acceleration from the sensors to the roll rotation of the floating platform.

    Declaration
    public float MapLongitudinalAccelerationToPitch(float longitudinalAcceleration)
    Parameters
    Type Name Description
    float longitudinalAcceleration

    The smoothed longitudinal acceleration in m/s^2 coming from the sensors.

    Returns
    Type Description
    float

    The pitch rotation in degrees.

    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint