Your cart is currently empty!
Add DemoGun to a GameObject (e.g., weapon or camera rig).
Assign Firepoint. Use a child transform at the muzzle position/direction.
Provide a Tracer:
· Assign a Tracer scene instance for single-use, or
· Assign a Tracer prefab and enable pooling for performance.
Configure aiming:
· Enable Use Camera to aim at the screen center (crosshair).
· Optionally enable Face Screen Center to rotate the gun toward aim.
Choose mode:
· Use Ballistics toggles between ballistic arc and straight ray.
Press Play and fire with Input “Fire1” (default: left mouse).