Projectile Offset Hit Detection - Sprint 5
Author: Tyler Sessler
Enemy projectiles are relatively simple at its core- spawn an actor with collision, update the direction, and check for overlaps. Most of the time when finding it's spawn location, you find the owner's respective position and call it a day. You may need at attach it to a bone/socket as well. This works very well with fast, small projectiles, such as bullets.
The first issue I ran into was the size of my projectile. It is an ability cast similar to the length and size of a large arrow. When I spawned the projectile at the owner's location, half of it was sticking out of her back. In order to fix this, I offset the spawn location by finding the actor's forward vector and multiplying it by an offset.
Get Proving Grounds
Proving Grounds
A arena based roguelike horde survival themed around the divine
Status | In development |
Author | NullNotZero |
Tags | Bullet Hell, Hack and Slash, Isometric, Roguelite |
More posts
- Dynamic Spline Creation - Sprint 7Jul 23, 2024
- Boss MechanicsJul 20, 2024
- Creating AI Concepts - Sprint 6Jul 20, 2024
- Area of EffectsJul 13, 2024
- Better AimingJul 07, 2024
- Creating LevelsJun 28, 2024
- Animation and Valhalla LevelJun 28, 2024
- Buffs/Debuffs & DoTs/HoTsJun 28, 2024
- Retargeting for Animation - Sprint 3Jun 27, 2024
Leave a comment
Log in with itch.io to leave a comment.