NWH Common
Search Results for

    Show / Hide Table of Contents

    Class VehicleCamera

    Base class for vehicle camera implementations with automatic target detection.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    VehicleCamera
    CameraMouseDrag
    Namespace: NWH.Common.Cameras
    Assembly: NWH.Common.dll
    Syntax
    public class VehicleCamera : MonoBehaviour

    Fields

    | Edit this page View Source

    target

    Transform to track. Auto-detects parent Rigidbody if not assigned.

    Declaration
    [Tooltip("Transform that this script is targeting. Can be left empty if head movement is not being used.")]
    public Transform target
    Field Value
    Type Description
    Transform

    Methods

    | Edit this page View Source

    Awake()

    Declaration
    public virtual void Awake()

    See Also

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