2 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

i am never active on gamejolt

meow mow mow

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

Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!

russian

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

cylindrical hitbox added

kitty bro

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

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