Fan Obstacle not Moving Player
Author: Myles Ditcharo
One of my tasks I had to do for Shutdown was make a fan obstacle that pushes the player and object away from it. While making this I ran into an issue where the fan would only push objects but not the player. Also, once the game would finish running, multiple warnings would pop up talking about the player character. For the fan, it needs to be able to apply force to the player because we plan on using it for traversing certain areas, so I had to figure out why.
After some debugging I found that the issue was that the method I chose to apply force to objects did not work well with the character and would cause errors to pop up. To fix this, I decided that instead of swapping the method of applying force, I would check to see what type of object is being pushed. With this, I would see if the player character is about to be pushed by the fan, and I would branch off the main path and use a different method of applying force. This way, I can keep the original feel of the fan when it pushes the objects, and fix the problem where the player character would remain unaffected.
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Fixing issue with Hud not being validApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.