godot-demo-projects/misc/instancing/ball.tscn

19 lines
455 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://bowling_ball.png" type="Texture" id=1]
[sub_resource type="PhysicsMaterial" id=1]
bounce = 0.4
[sub_resource type="CircleShape2D" id=2]
radius = 30.0
2020-02-02 10:37:15 +01:00
[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource( 1 )
2020-02-02 10:37:15 +01:00
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
2020-02-02 10:37:15 +01:00
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )