pandemonium_demo_projects/2d/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
[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )