3 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

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

meow mow mow

cylindrical hitbox added

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

russian

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

kitty bro

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

Welcome to Meowosville, home to the catfolk, with houses made of cardboard boxes and feline-looking towers! 🐱

Catfolk love to fish, and love the company of the nearby dogs and crabs! 🐶 To the north, the buff cats claimed a cave as a gym for themselves. 💪

.