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. Getting Started
  2. Bullet Time Effects

Bullet

PreviousTargetNextFiring with Bullet Time

Last updated 3 years ago

Was this helpful?

Whenever you trigger a bullet time effect, there needs to be an actual bullet object travelling throughout the scene to watch. We can use the already available bullet prefab for now. Navigate to the InanEvin>Realistic Sniper and Ballistics>System Prefabs folder and drag & drop the Bullet Time - Bullet prefab into the scene. If you enable and look at it, it's just a simple bullet mesh, with a rotator script on it. We keep it disabled in the beginning because we don't want it to render except in those times where bullet time is triggered. We will send this object to the SniperAndBallisticsSystem.cs instance while we are calling a method to fire, and it will enable it when using bullet time effects.

Bullet Time - Bullet prefab. Later on, you can replace this with your own bullet object.