It's possible to disable Gameobject collision? (SOLVED)

Sorry if my question is just solved in somewhere on the old thread, but since i cant find it then i’m ask again. Just like title, its possible in runtime?

1 Like

Hi!

I think you should be able to send disable/enable message to the collision object compoent, something like this:

msg.post("go#collisionobject", "disable")

In this example the gameobject has id go and the component is named collisionobject.

6 Likes

it’s easy to forget about our docmentation too :slight_smile:

4 Likes

Oh great thanks, i have no idea with that disable/enable in msg.post except #sprite compenent, its solved now

3 Likes