Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class DemoRotator

    Continuously rotates a Rigidbody at a constant rate. Useful for rotating platforms or visual elements in demo scenes.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    DemoRotator
    Namespace: NWH.Common.Demo
    Assembly: NWH.DWP2.dll
    Syntax
    public class DemoRotator : MonoBehaviour

    Fields

    | Edit this page View Source

    rotation

    Rotation speed in degrees per second for each axis.

    Declaration
    public Vector3 rotation
    Field Value
    Type Description
    Vector3
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics