All Questions

Community

H
Helge Hannisdal
posted to: Coding the Coin

moving the CollisionShape2D

What is the best way to have the CollisionShape2D move with the coin sprite? now it does not bounce...

  • Nathan Lovato replied

    You can animate the Area2D node instead of the sprite so everything moves together. Back when I did the tutorial, areas would have a 1-frame update delay so they would move but the collision detection would not match the position of the collider. I think they now update when moved in Godot 3.2.