Advanced Turret System
  • Welcome
  • Getting Started
    • Quickstart
    • Demo Scene Overview
  • Basics
    • Manual Turret Setup
    • TurretController Inspector
    • Turret Projectiles & Customization
  • Extra
    • Health System
Powered by GitBook
On this page
  • Demo Scene Overview
  • 🎮 Location
  • 🧪 What's Included
  • 🔄 Moving Target
  • ✅ How to Use
  • 🧩 Experiment!
  1. Getting Started

Demo Scene Overview

Demo Scene Overview

The asset includes a demo scene showcasing the core features of the system in action. Use it to quickly test turret behaviors, projectiles, and setup workflows.


🎮 Location

The demo scene can be found under:

Assets/IronSami Studio/Advanced Turrets System/Scenes/DemoScene.unity

🧪 What's Included

  • A fully functional double-barrel turret prefab

  • A moving capsule using LinearPingPongMover to simulate an enemy

  • A basic target GameObject with HealthSystem

  • Gizmos showing range, raycasts, and cone detection

  • Audio + visual feedback when firing


🔄 Moving Target

The capsule uses the LinearPingPongMover component to move back and forth. This makes it ideal to test turret tracking and predictive shooting.

Settings:

  • Direction: typically along X or Z

  • Travel Distance: defines range of movement

  • Speed: determines movement frequency

You can add more moving targets to test multiple enemies at once.


✅ How to Use

  1. Open the demo scene

  2. Press Play

  3. Watch the turret detect and engage the capsule

  4. Adjust inspector settings on the turret to try different modes (e.g. raycast vs projectile)

  5. Try increasing fire rate, enabling cone detection, changing the enemy tag, etc.


🧩 Experiment!

Feel free to:

  • Replace the turret prefab with a custom one

  • Change the projectile type to homing

  • Add your own enemies

  • Connect VFX, hit effects, and events to see how everything ties together

The demo is designed to be your sandbox. No setup required – just hit play!

PreviousQuickstartNextManual Turret Setup

Last updated 13 days ago