API overview
Public integration points in the IE.RSB namespace.
Add using IE.RSB; to scripts that use RSB. Runtime classes are in RSBRuntime; the optional new-input backend is in RSBInputSystem, and editor extensions are in RSBEditor. Custom assembly definitions need a reference to RSBRuntime.
The main singleton is SniperAndBallisticsSystem.instance, whose type is SniperAndBallisticsSystem. DynamicScopeSystem.instance is a separate singleton. Add and configure their scene components before using them. Start is a suitable place to activate bullet properties after the system's Awake.
The following pages describe the current public fields, properties, methods and events. Tutorials show complete setup and example usage. Source files under src provide further implementation details; when comments differ from implementation, the descriptions here follow the executable code.
| Area | Reference |
|---|---|
| Firing, zeroing and events | SniperAndBallisticsSystem |
| Per-shot settings and ownership | BulletShotParameters |
| Ammunition damage configuration | BulletDamageProfile |
| Bullet configuration and trajectory data | BulletProperties |
| Hit payload | BulletPoint |
| Scope | DynamicScopeSystem |
| Player state | PlayerMovementController |
| Bob, sway and recoil | MotionController |
| Surface response | BallisticSurface |
| Runtime atmosphere | EnvironmentProperties |
| Calculation helpers | BallisticsUtility |
| Cinematic time | BulletTimeUtility |
| Effect selection | BulletTimeCameraDefault |