Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Tentamens |
Hey there!
Collisions have just not been working for me the last day, I have never had issues like this before, I’m still following the usual protocol use of an X body and attaching scripts to it, I’ve tried static and ridged bodies, and also when I put collision shapes in a Area
, It won’t trigger a body_entered
signal to my code, if there any common fix’s for this I’d love to hear because I’ve wasted like my whole day on it lol.
If you can help thanks!
Let me see if I understand this. You set up a KinematicBody
or aRigidBody
node, then added an Area
node, added a script to the Area
node, connected a body_entered
signal to the Area
node (from the editor), and tried moving the bodies through the Area
node. Yet the function connected to the body_entered
signal wasn’t triggered?
Ertain | 2022-07-04 23:33
appreciate the help!
well basically yeah but I just connected the signal from the area
to the main player
script, that and collisions on other boxes just don’t work at all.
Tentamens | 2022-07-05 03:12
Did you do anything with the CollisionShape
/CollisionPolygon
node that’s on the Area
node?
Ertain | 2022-07-05 03:21
nope just gave it a shape
Tentamens | 2022-07-05 05:31