NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Rigidbody FPS Controller

    Simple first-person controller for navigating demo scenes on foot. Uses physics-based movement with Rigidbody and mouse-look camera control.

    Usage

    Intended for testing vehicle enter/exit functionality and general scene navigation. Based on Unity Community Wiki example.

    Key Properties

    • speed - Movement speed in m/s (default: 10)
    • jumpHeight - Maximum jump height in meters (default: 2.0)
    • gravity - Downward acceleration in m/s² (default: 10)
    • maxVelocityChange - Acceleration responsiveness (default: 10)
    • sensitivityX/Y - Mouse look sensitivity (default: 15)
    • minimumY/maximumY - Vertical look angle limits (default: -60°/60°)

    Requirements

    • Rigidbody component (auto-configured with freezeRotation, useGravity disabled)
    • CapsuleCollider component
    • SceneInputProviderBase for input handling
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics