Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System | Unity Tutorial

Learn how to create a ScriptableObject-based gun system from scratch for your game! In this video, which is part 1 of a much larger gun system series, we’ll create 3 ScriptableObjects to control our Gun, Bullet Trails, and Shoot Configurations for 2 types of guns. Specifically, we’re doing “Hitscan“ or Raycast shooting in this video. In this video I DO NOT cover the Impact System: you can check out that video for the full explanation for how that works That’s for the SurfaceManager and ImpactType both. If you’re not interested in using that system for impacts, feel free to just remove that code! Everything will still work! PlayerIK is a very simple demo script implemented solely for the demo. As I mention in the video, this will be covered in the future, so you can skip that part for now, or check out the project on GitHub to see that naïve implementation. In this series you’ll learn how to make a config
Back to Top