Realistic Sniper and Ballistics
  • Welcome
  • Introduction
    • Feature List
    • Why/How is it used?
    • Quick Setup
  • Getting Started
    • Getting Started
    • Environment Properties
    • Bullet Properties
    • Object Poolers
    • Sniper and Ballistics System
    • Firing a Bullet
    • Listening to Hit Events
      • Spawning Particles on Hit
      • Hit Tags
    • Zero Distances
    • Wind Vector
    • Air Resistance
    • Spin Drift
    • Ballistic Surfaces - Penetration
    • Ballistic Surfaces - Ricochet
    • Bullet Time Effects
      • Target
      • Bullet
      • Firing with Bullet Time
      • Bullet Time Camera - Default
      • Writing your Own Bullet Time Camera
    • Dynamic Scope System
    • Incorporating Player
      • Player Movement Controller
      • Motion Controller
      • Camera Controller
      • Player With Weapon
    • Mobile Controls
    • Conclusion
  • API
    • API Welcome
    • Sniper and Ballistics System
    • Dynamic Scope System
    • Player Movement Controller
    • Motion Controller
    • Ballistic Surface
    • Environment Properties
    • Ballistics Utility
    • Bullet Time Utility
Powered by GitBook
On this page

Was this helpful?

  1. API

Bullet Time Utility

Public Static Methods

Return Type

Name

Signature

Description

Vector3

GetRandomVector

(Vector3, Vector3)

Returns a random vector3 between min & max.

void

SetActualTimescale

(float)

Changes Time.timeScale along with Time.fixedDeltaTime.

void

ResetActualTimescale

()

Resets Time.timeScale & Time.fixedDeltaTime.

void

SetVirtualTimeScale

(float)

Changes the BulletTimeVirtualTimescale in SniperAndBallisticsSystem.cs

void

ResetVirtualTimeScale

(float)

Resets the BulletTimeVirtualTimescale in SniperAndBallisticsSystem.cs

float

GetRandomNegation

()

Returns -1.0f or 1.0f based on random chance.

PreviousBallistics Utility

Last updated 3 years ago

Was this helpful?