Spider Enemy Dying in the Air
Author: Austin Anderson
Date: 2/1/24
Problem:
The biggest problem I had this week was that the spider enemy would stay suspended in the air if they died while jumping over a barrier. It seems like a simple fix but with collision and physics, it became very difficult to balance all aspects of the spider enemy before and after death. The spider also functioned correctly on the ground so I had to find a different solution for an air death than a ground death.
Solutions:
Luckily there is already a function in the character movement component that checks if the owner is on the ground, so it was easy enough to check if the spider was grounded.
Next, I had to stop the movement of the spider and if it was in the air, I needed to simulate physics so the spider would fall to the ground. Originally, the spider would spin out of control once it was shot, but once I constrained the rotation of the spider, it finally fell to the ground as it should.
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
- 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.