RSBDOCS
Introduction

Quick setup

Import RSB and run the current sample scenes.

Import RSB into your Unity project. The package root is:

Assets/InanEvin/Realistic Sniper and Ballistics/

Paths in this manual are relative to that root unless stated otherwise.

Choose your render pipeline

The included SAMPLES folder is configured for URP. Use a URP project with its pipeline configured, then open a scene under SAMPLES/Scenes.

For HDRP or Built-in, follow Render pipelines. The alternative archives are in UNPACK-FOR-HDRP-BUILTIN. They replace the samples and do not configure your project's render pipeline.

Choose your input backend

In Player Settings โ†’ Active Input Handling, select Input Manager (Old), Input System Package (New), or Both. Restart Unity when requested. For New or Both, install a compatible Input System package, version 1.6 or newer. Unity UI (com.unity.ugui) is required by the sample UI.

With Both selected, the demos use the new adapter only. See Input and controls for bindings and setup.

Open a demo

Scene under SAMPLES/ScenesPurpose
FullDemo.unityFull first-person sniper example, surfaces, scope and bullet time.
MinimalDemo.unityBallistics without the player controller; press Space to fire.
EmptyPlayerControllerDemo.unityMovement, camera and motion without a weapon.
MobileDemo.unityTouch joystick and button controls.

Use WASD/arrows to move, the mouse to look, left mouse to fire, hold right mouse to aim, R to reload and Space to jump. While aiming, B/V change zero distance and the mouse wheel changes scope zoom.

To integrate RSB into your own scene, continue with Getting started.

FullDemo demonstrating e.g bullet ricochet & penetration
Original RSB demo recording. Follow the current instructions on this page for setup. Click the image for full size.
Mobile demo with bullet time, recorded in Galaxy A70
Original RSB demo recording. Follow the current instructions on this page for setup. Click the image for full size.

On this page