4 years ago

Simple collision theory (not physics based):


If you're within xz boundaries of an object, you are removed along xz axis. However if you are above (from your feet)t sets your floor level and keeps you from falling through the floor level. If you are below (from your head) then if you jump you will be repelled downward. Once you have a floor level, it will continually update the floor level until you step off, in which case it is reset to zero (note: it is set to zero every cycle at the beginning of the cycle, not when you move off the block

Sorry if this is irrelevant I just wanted to not my thoughts down and how my collision works, I wonder how does this compare to other people's?



2 comments

Loading...

Next up

russian

shakespear

wow I've already abandoned my 3d engine and made a Minecraft clone and abandoned that and then started on a 3rd engine

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

kitty bro

Moonlight Peaks is a life-sim where you can live your magical farm life! ✨

Don't miss out on completing our quests celebrating the game to get sticker packs, coins, and more!

Play the FREE demo: https://bit.ly/MoonlightPeaks

another random ass 3d engine that nobody asked for and nobody will end up using

.

The Scratch Team has just recently updated their Terms of Service yesterday, letting you know they now have full permission to use your content to train AI models.

cylindrical hitbox added