Mech enemy stomp attack
Author: Austin Anderson
Date: 12/14/23
Problems:
My problem this week was that when the mech enemy got close to the player it would shoot over the player. The mech enemy would still damage the player, but visually, it looked like the mech was shooting over the player. I fixed this issue with two solutions. First, the mech would have to look down at what it was shooting at. However, this looked very strange when the mech got very close to the player, which brought me to my second solution, the stomp attack.
Solutions:
Getting the mech to look down at what it was looking at was not an easy task. The original solution to use IK was relatively easy, but after this was implemented since the mech is leaning left as it shoots, when I would make its top half lean towards what it was shooting at, it would lean far over to the left. So it took a LOT of tweaking to get the mech to look semi-normal.
Even with these tweaks to the mech shooting animations, when the mech got close, it was still way off. Because of this, I implemented a stomp mechanic. Whenever the current target is too close to the mech enemy to shoot, the mech enemy does a stomp attack and damages everything in the cube collision in front of the mech.
Please excuse the photos, it is hard to get a screenshot of these attacks in action.
Get Cyber Siege
Cyber Siege
Third-to-First person Castle Defense game
Status | In development |
Author | TheCodeCollective |
Tags | 3D, First-Person, Futuristic, Robots, Singleplayer, Third-Person Shooter, Tower Defense, Unreal Engine |
More posts
- Visual Impact: Enhancing Player FeedbackFeb 03, 2024
- Revamping Reticles: Adding Specific DynamicsFeb 02, 2024
- Spider Enemy Dying in the AirFeb 01, 2024
- Small Changes: Beginning vs End of developmentJan 27, 2024
- Airstrike TimerJan 25, 2024
- Overcoming Code Mazes: Transitioning to Radial Progress Bars in Unreal EngineJan 20, 2024
- Airstrike Power-UpJan 18, 2024
- Resuming the Journey: Maintenance & PlanningJan 13, 2024
- Drone Enemy Particle Effect BugJan 11, 2024
Leave a comment
Log in with itch.io to leave a comment.