I'm new to Godot. Downloaded 4.6.2. Just started learning. Went through 2D "Dodge the creeps" example.
Now trying to hack something of my own. I have two Area2D objects. One is picture of a car-track. Another is a car object moved on the track. Track has a path that should be followed. I'm trying to detect off-track collisions. My car moves nicely, even turns the way I drive it. I tried some collision patterns for the track. read that one ConcavePolygon might get too complex. Then been trying to get collision detected with any means necessary. But with no success at all. I moved from having the car as RidigBody2D to Area2D with CollisionShape, but last I've debugged, seems that my CollisionShape isn't following my Sprite.
For car I have:
Area2D
- AnimatedSprite2D
- CollisionShape2D
Once I turned the collision shapes visible from debug menu, I can see that my CollisionShape is there, but when I move my car, the shape stays there. What could be the problem ?