Collision for the AI

 author: Hayden Rodgers

Due to the AI not being a humanoid I could not use the standard capsule collider to hand the collision. This would cause for issues later since the hitbox for the AI would not match up to the model. Making gameplay feeling rough for that the player could shoot the legs but not have it count as a hit. This was of high importance in my task for that if not done as soon as possible for the AI it would cause issues later in development where the AI would have to either be fully rebuilt or changed.

After attempting different methods for changing the collision for the AI. The end solution was to turn off the overlap events for the Capsule collider. While also turning the collision on the mesh to pawn and enabling overlap events for the collision. With this it allows for the players to be able to shoot the AI at any body part to inflict damage.

Comments

Popular Posts