How can I automatically rotate a RigidBody2D with Circle CollisionShape

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MaaaxiKing

I am making Breakout and my Ball is a RigidBody2D with a Sprite that looks like a beachball and it has a CollisionShape2D with shape circle. So I want the ball to rotate whenever it hits a wall or anything. How?

I have no idea how I did it but now it works. But please answer for other users.

MaaaxiKing | 2020-06-23 09:15

:bust_in_silhouette: Reply From: MaaaxiKing

I think, I just changed the mode from Character to Rigid, that’s all.