Small things can make or break your progress - by Mason Miller


Preface :

Glitches can completely alter the progress of your plan for a project. Having to suddenly change course and take time into something you did not expect can be very frustrating as it takes time you wanted to take into something else that you can no longer do. Regardless, it is an inevitable aspect of programming that things will go wrong and you will need to spend crucial time trying to fix it, find a workaround, or priorities something else if it can't be solved.

Problem:

The biggest thing for me popped up at the end of the sprint. My chandelier within the new block out of the level Dorman Domicile does not destroy itself when it hits the floor, it continues falling.

When in other test levels it destroys itself as intended.

I found out that this was happening in the other level relatively quickly after seeing the glitch. So I immediately tried to replicate the conditions in the level that worked in my new level. Primarily changing the the type of collisions that the floor and chandelier check. The chandelier is the same in both maps so that wouldn't need to be changed, so I focused on the aspects of the floor.
The test level's floor was set to  BlockAllDynamic and the Dormant domicile floors were set to BlockAll.

Test Map.


Dormant Domicile.


I thought that would be a quick fix, but it didn't change anything. In fact nothing I was doing was fixing it, no matter what type of collision I set the ground too my chandelier would never destroy itself. I decided to go into my chandeliers code and tinker with filtering the type of object handleOverlap and onHit respond top. Unfortunately nothing really changed from what I was already doing. My chandelier was already checking for a static mesh which my ground is, since I made it in the cube grid before it converts it to a static mesh automatically.

While it's not game breaking It was tied to something that I had already done, and I can't work on something else when an earlier feature is broken in some way. I'll have to experiment with it more to figure out why this is happening and how I can fix it so I can move on to other tasks.

Get No Rest For the Wicked

Leave a comment

Log in with itch.io to leave a comment.