Unity Warship & Turret Controller (with Enemy AI) — WebGL + Mobile Ready
movement WASD
camera mouse freelook
left click fire
key f to zoom in
R key to reset scene
Unity Warship & Turret Controller (Asset)
A plug-and-play naval combat controller for Unity — includes turret ballistics, enemy AI, and WebGL + mobile controls ready out of the box. Ideal for vehicle shooters or naval games.
Naval Ship & Turret Controller (Unity)
A production-ready Unity controller for naval / tank-style gameplay featuring realistic turret ballistics, multi-turret support, and intelligent enemy AI.
Designed for arcade to semi-simulation games, this controller gives you World of Warships / War Thunder-style turret behavior without heavy setup.
Clean Folder Structure

✨ Features
🔫 Turret System
-
Multi-turret support (front / rear / side turrets)
-
Multi-barrel turrets (salvo firing supported)
-
Per-turret firing arcs (left/right limits)
-
Traversal speed limits (heavy gun feel)
-
Ballistic-aware elevation (gravity based)
-
Muzzle-based aiming (no camera cheating)
🎯 Aiming & Reticle
-
UI reticle showing actual shell impact point
-
Reticle driven from muzzle ballistic simulation
-
Works with zoom, camera rotation, and turret lag
-
World-space or UI-based reticle support
💥 Weapons & Projectiles
-
Realistic shell trajectory (manual ballistic simulation)
-
Gravity & shell speed configurable
-
Ray/sphere cast collision (no tunneling)
-
Splash-ready (extendable for HE damage)
🧠 Enemy AI Ships
-
Patrol / Chase / Attack state machine
-
Strafing behavior instead of full stop
-
Broadside combat support
-
Skill-based accuracy (misses feel fair)
-
Lead prediction for moving targets
-
Per-turret activation based on firing arcs
🚢 Ship Movement
-
Forward / reverse throttle states
-
Smooth acceleration & deceleration
-
Naval-style turning (speed-dependent steering)
-
Velocity output for UI & targeting systems
❤️ Damage & UI (Event-Driven)
-
Player & enemy health systems
-
UnityEvents for damage, fire, destruction
-
Red damage flash using AnimationCurve
-
Delayed Game Over panel support
🎮 Controls (Default)
-
W / S – Increase / decrease ship speed
-
A / D – Turn ship
-
Mouse – Rotate camera & turret
-
Mouse Wheel – Zoom
-
Left Click – Fire weapons
🧩 What’s Included
-
ShipController (naval movement)
-
Player & Enemy Turret Aim Controllers
-
EnemyShipAI (strafe combat)
-
Ballistic Shell Projectile
-
Muzzle-based Aim Reticle (UI)
-
Damage & Health systems (UnityEvents)
-
Example prefabs & setup guidance
🛠️ Requirements
-
Unity 2021 LTS or newer
-
Built-in / URP compatible
-
No third-party packages required
💡 Ideal For
-
Naval combat games
-
Tank & artillery games
-
Vehicle shooters
-
Arcade or semi-simulation projects
-
Prototypes & full releases
📌 Notes
-
Art assets (ships, water, UI graphics) included
-
System is modular and easy to extend
-
Well-commented code for learning & customization
📣 Support
If you have questions or want help integrating the controller into your project, feel free to leave a comment on the page.
| Status | Released |
| Platforms | HTML5 |
| Rating | Rated 3.5 out of 5 stars (2 total ratings) |
| Author | CREASTA PIXEL |
| Made with | Unity |
| Tags | 3D, Singleplayer, Unity |
| Content | No generative AI was used |
Download
Click download now to get access to the following files:
Development log
- NewSystems61 days ago
- Added mobile controller61 days ago
- ship controller with enemy ai unity6.366 days ago



Leave a comment
Log in with itch.io to leave a comment.