[gd_scene load_steps=5 format=2] [ext_resource path="res://component/entity/wheel/BikeWheel.png" type="Texture" id=1] [ext_resource path="res://component/entity/wheel/Wheel.gd" type="Script" id=2] [sub_resource type="PhysicsMaterial" id=2] rough = true bounce = 0.9 [sub_resource type="CircleShape2D" id=1] radius = 33.1812 [node name="Wheel" type="RigidBody2D" groups=["wheel"]] collision_mask = 3 mass = 0.5 physics_material_override = SubResource( 2 ) angular_damp = 0.0 script = ExtResource( 2 ) min_linear_speed = 200 max_linear_speed = 325 max_angular_speed = 18.85 [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) [node name="Sprite" type="Sprite" parent="."] scale = Vector2( 2, 2 ) texture = ExtResource( 1 ) [node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] rect = Rect2( -32, -32, 64, 64 ) [connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]