Making the spawnpoint a child of the main character ensures that the spawnpoint moves position according to the movements of the parent character. This character needs to have a spawnpoint attached to it as a child. We have to have a character that our player controls. You should know what transforms and rigidbodies are at the very least.įirst of all, we need to think about the logic of shooting a projectile in 3D space. Also, these instructions assume that you have an entry level understanding of the Unity game engine. If I fail to cover something in this post that you are curious about, then check out that video. In this post, I am going to outline how you create a projectile and shoot that projectile outwards from a character using the Unity Game Engine.īefore I jump into it, I want to post a link to my tutorial video that covers this topic in detail. Of course, implementing a shooting mechanism is not quite as simple as running a function called ShootBullets(). As a game designer, you can have your character shoot whatever your heart desires. One of the most common mechanics that you’ll find in almost any video game is the ability to shoot something.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |