mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 16:30:06 +01:00
19 lines
468 B
Plaintext
19 lines
468 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://bowling_ball.png" type="Texture2D" id=1]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
bounce = 0.4
|
|
|
|
[sub_resource type="CircleShape2D" id=2]
|
|
radius = 30.0
|
|
|
|
[node name="Ball" type="RigidDynamicBody2D"]
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|