NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Class RiggingModuleWrapper

    MonoBehaviour wrapper for the RiggingModule, procedural bone animation for suspension arms, axles and steering linkages. Goes on a GameObject that has a VehicleController.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    ModuleWrapper
    RiggingModuleWrapper
    Namespace: NWH.VehiclePhysics2.Modules.Rigging
    Assembly: NWH.VehiclePhysics2.dll
    Syntax
    [Serializable]
    [DisallowMultipleComponent]
    public class RiggingModuleWrapper : ModuleWrapper

    Fields

    module

    The wrapped RiggingModule instance. Holds the bone definitions and their animation settings.

    Declaration
    public RiggingModule module
    Field Value
    Type Description
    RiggingModule

    Methods

    GetModule()

    Gets the wrapped module as a VehicleComponent.

    Declaration
    public override VehicleComponent GetModule()
    Returns
    Type Description
    VehicleComponent

    The RiggingModule instance cast to VehicleComponent

    Overrides
    ModuleWrapper.GetModule()

    SetModule(VehicleComponent)

    Sets the wrapped module from a VehicleComponent reference.

    Declaration
    public override void SetModule(VehicleComponent module)
    Parameters
    Type Name Description
    VehicleComponent module

    The VehicleComponent to wrap, must be a RiggingModule instance

    Overrides
    ModuleWrapper.SetModule(VehicleComponent)
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics