To shoot or not to Shoot
Welcome back. This week I will talk to you a little bit about ranged AI issues that you might run into while making your own game. As you all know many games have enemies that have ranged attacks, but those ranged attacks have to be visible, and that turned out to be trickier than I though. There were no suitable tutorials even on YouTube. I somehow got the arrow to spawn in when the AI shoots, but it was missing the player no matter what so it was not viable. I had to restart from scratch meaning hours of work went to waste. Then I found a slightly better way which misses less irregularly. Meaning the arrow always goes straight, but not straight at the player. It always comes out 90 degrees to the left of the archer. I even tried to rotate the arrow when spawning, I tried to rotate the mesh, I tried to rotate the projectile movement component, nothing helped. For now, I am afraid I will have to disappoint you by saying I still have not solved this, but I will keep on keeping on.
Get Element Clash
Element Clash
Element Clash, save your legacy!
Status | Released |
Authors | DJMyers16, MaxMatusR, willj003, B0SS0770 |
Genre | Adventure, Action |
Tags | Action-Adventure, Action RPG, demo, Low-poly, Magic, Monsters, Singleplayer, Third Person |
More posts
- End of the RoadMay 26, 2023
- Sooo stupid...May 18, 2023
- Flash Darn ItMay 12, 2023
- The beginning of the EndMay 05, 2023
- Slow day at the office...Apr 29, 2023
- Some things are that easyApr 21, 2023
- Math for Experience - Dustin MyersApr 14, 2023
- Research EVERYTHINGApr 11, 2023
- Growing a Skill Tree - Dustin MyersMar 18, 2023
Leave a comment
Log in with itch.io to leave a comment.