RSBDOCS
API reference

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.

AreaReference
Firing, zeroing and eventsSniperAndBallisticsSystem
Per-shot settings and ownershipBulletShotParameters
Ammunition damage configurationBulletDamageProfile
Bullet configuration and trajectory dataBulletProperties
Hit payloadBulletPoint
ScopeDynamicScopeSystem
Player statePlayerMovementController
Bob, sway and recoilMotionController
Surface responseBallisticSurface
Runtime atmosphereEnvironmentProperties
Calculation helpersBallisticsUtility
Cinematic timeBulletTimeUtility
Effect selectionBulletTimeCameraDefault