Help with collision (SOLVED)

Hi so i have a very basic question is how do i make collision objects

but when i run the game this happens

image

any help will be appreciated i am very noob to game dev and also to lua nd defold
**if anyone is also willing to help me further after this it will be great **
thanks for taking ut time reading this

The manual is here: https://defold.com/manuals/physics/#adding-a-collision-object-component

There is an example of tilemap collisions here: https://defold.com/examples/tilemap/collisions/

Enable Physics debugging to figure out what is going on: https://defold.com/manuals/project-settings/#debug

2 Likes

thanks i looked into it

Did you solve it? My guess is that physics debug will give you a very good clue what’s going on.

yeah i got it it was a z-index problem also i read the link u sent i was using the wrong properties