NWH Wheel Controller 3D
Search Results for

    Show / Hide Table of Contents

    Interface ISubstepCallback

    Callback interface for per-substep powertrain updates. Implement this on VehicleController to receive callbacks before each wheel substep.

    Namespace: NWH.WheelController3D
    Assembly: NWH.WheelController.dll
    Syntax
    public interface ISubstepCallback

    Methods

    | Edit this page View Source

    OnBeforeSubstep(float, WheelControllerGroup)

    Called before each wheel substep. Use this to run powertrain solver with substep delta time. The group is provided so the powertrain can step wheels internally for immediate counterTorque.

    Declaration
    void OnBeforeSubstep(float substepDt, WheelControllerGroup group)
    Parameters
    Type Name Description
    float substepDt

    The delta time for this substep.

    WheelControllerGroup group

    The rigidbody group containing state and wheel list.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics