#How to check collision ?

1 messages · Page 1 of 1 (latest)

supple goblet
#

im creating a small game, but i dont know how to check collision, here i linked my node gerarchy and code

tepid granite
#

What should be colliding with what?

supple goblet
tepid granite
#

You said you wanted to check collision. So, what objects are supposed to be hitting each other to check?

#

How to check for them will vary depending on the object

supple goblet
tepid granite
#

Make sure contact_monitor is active for the Rigidbody objects

#

Then connect the signal under the node tab called body_shape_entered()

#

The function you connect to be called every time the rigidbody hits another physical object

#

The object will be passed as a body parameter. You can use that to determine what you hit