Search Results
7/20/2025, 5:04:29 AM
What is the best way to handle hitboxes in a 3D game?
The scenario is that you have the player character who can have multiple weapons with multiple types of attacks.
At the moment i have a hitbox for each weapon & attack type that activate and following the swing animation. After the animation occurs the hitbox is deactivated and returns to the original spot. This doesn't feel particularly scalable as I could easily have 100+ hitboxes for each weapon & attack type animation.
The scenario is that you have the player character who can have multiple weapons with multiple types of attacks.
At the moment i have a hitbox for each weapon & attack type that activate and following the swing animation. After the animation occurs the hitbox is deactivated and returns to the original spot. This doesn't feel particularly scalable as I could easily have 100+ hitboxes for each weapon & attack type animation.
6/24/2025, 2:03:11 AM
6/21/2025, 10:26:13 PM
Page 1