I'm pretty sure that you wouldn't want to check when a static body has been entered as collision would stop this.
as I usually work in 2d I use areas to check collision, and you can also use this method in 3d (as it seems you're in 3d).
The issue with static bodies is that they push things away, so nothing can enter them, and your signal will never be triggered.
There may be some hack to do this, but I probably would just make an area that's slightly larger than the static body and detect when something enters that.
#Help with colliding
13 messages · Page 1 of 1 (latest)
You also will not get collisions if you're moving with a tween. You need to move with physics
can i get collisions with tween though?
No
At least, it won't generally work the way you would expect it to
Collisions are calculated when moving with physics
A tween is basically just teleporting the object
Now, other objects might still be able to collide with an object being moved by tween. But the object being moved by tween won't collide with other objects when it moves
so then can i move my object in similar way? sounds like a stupid question, but i need to move only for X amount of time 😄
i dont really need colliding, more thinking of hit detection or something
try Area and Physic Body ... I have 200 Areas, all working fine ... 😀 with Sound ...
but i need to move with physic right?
not with tween