In this Blender and Unity tutorial I show how to export models from Blender to Unity and then create a shooting turret animation.

For exporting the models I use Blender 2.91 in which I created the meshes, armatures and animations.

Shooting bullets in Unity 2019

In Unity 2019 I imported the fbx files for the bullet and the turret, create an animations controller and a C# script to fire bullets.

The Bullet Prefab that I use for shooting needs a Collider and a Rigidbody attached so that we can set the velocity in a C# script.

I also use the C# class for the turret to control the animations that I used in states of the AnimationController.

(Visited 366 times, 1 visits today)