How do I make an object collide with an object?

To be more specific, how do I make an object be able to stand on, or hit an object? I’ve tried checking if the object is above, next to, or below, and then stopping the object from going through it, but I couldn’t get it working. I’ve also tried using two variables called Floor and Ceiling, and letting the objects themselves do the work of setting it (basically checking if it’s above or below the object). It works for the most part, but when I tried putting one above another, it ended up making the object fall through both. Any way to do it without bugs?

12 Likes

You could check out @Spy_Guy_96’s templates on HS. They have both basic collision for platforms, and tiles that interact (“collide”) with each other.

5 Likes

Or you could use my rotational collision code
If you need something more advanced
And if you need 3D collision I can link my wip Minecraft

4 Likes

dont you mean the our collision code (meme aside i did do it first but ypurs is great and 3d block collisions work wondetfully and i love them alot)
download (19)

1 Like

download (20)

1 Like

Wait you did?
Wow
That means
We should go smash wishlist karlson on steam…

2 Likes

oh you dont know what karlson is? its just a little game dani is working on which is currently the 15th most wishlisted game on steam so please go smash wishlish now gamers

3 Likes

You guys have told me that muck is to difficult
So the only reasonable thing to do
EXPONENTIAL DIFFICULTY CURVE

2 Likes

it litterately sky rockets :joy:

1 Like