Hitbox along sloped Surface / Ground (Wildstar)
Now a problem arises: I want the player to be able to shoot up or down slopes, without having to aim up/down. The hitbox needs to adapt to the ground.
The red box is the hitbox. Brown is the ground and black is the player character.
How would I tackle this? I think another game that uses a similar system is Wildstar. I'd love to know how they did their system, or at least how I could tackle this problem. Decals kinda behave like I want but I don't think they can be used for attack hitboxes.
Thanks for your time and help guys!
asked May 04 '18 at 05:03 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here