Godot Version
v4.3
Question
I want to make wheel come to a complete stop
Node Tree:
Node2D
├─ StaticBody2D
│ └─ CollisionShape2D # 45deg Angled Rectangle
└─ Wheel # RigidBody2D `wheel.gd`
├─ WheelCollision # CollisionShape2D with 20px r circle
└─ Sprite2D # Wheel sprite matching collision shape
wheel.gd:
func _physics_process(delta):
angular_velocity = 0
Even thogh I am setting angular velocity zero. The wheel is rotating. I get that after setting the angular velocity the physics engine make it move. So I want to make it complete stop like brake mechanism. Slipping is okay but not rolling.