#Collision Issue

8 messages · Page 1 of 1 (latest)

remote kestrel
#

I am having trouble with some of my collisions. I made a platform scene that has just an Area2D and a Rectangle collision. i made new instances for all my platforms. only one specific one works in the scene, and works in all copied instances.

Any idea why this is? I have no custom collision code.

attached screenshots and video

in the shots, RightIsland is the only one that works

proven bloom
#

an Area2D on its own wouldn't act solid like that (a StaticBody2D would), so we'll need to see how you're actually trying to handle collisions betweent the player and the terrain

remote kestrel
#

I can switch them to StaticBody

proven bloom
#

you shouldn't be able to stand on an Area2D like that though. are you using the tilemap for the trees and floating rocks? if so, do those tiles have collision?

remote kestrel
#

Yes, same tile map for both. I did not consider the tiles themselves having collision. I'll now need to look for that. Could explain why the floating rocks work

remote kestrel
#

Yup, that was it. The tilemap has collision things for all the ground/walkable items, but the trees do not.

#

thank you!