Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DimitriyPS | |
Old Version | Published before Godot 3 was released. |
In my project there is an object here is a structure:
I need to check collision, how to do it?
You can’t check for collision using StaticBody
HatEm | 2017-01-05 16:48
In every engine out there, static bodies do not report anything:
https://godot.readthedocs.io/en/stable/tutorials/2d/physics_introduction.html#in-case-of-overlap-who-receives-collision-information
But the most important question, what will be colliding with the StaticBody and why you want to detect that?
Maybe knowing that others will be able to give better answers.
eons | 2017-01-05 16:55
This object is a “lift door”. I move it by changing the value of Y at root Spatial. I want in the event of a collision, to interrupt it lower and raise.
Probably not the best option to do static body. This is a test and the first experience. It needs to be done KinematicBodi?
DimitriyPS | 2017-01-05 21:49