godot/instancing_starter/Ball.tscn

21 lines
581 B
Text
Raw Normal View History

2024-03-26 09:34:15 +01:00
[gd_scene load_steps=4 format=3 uid="uid://dm5jrnxmxnuof"]
[ext_resource type="Texture2D" uid="uid://dv6rx85s1gy3i" path="res://assets/ballBlue_10.png" id="1"]
[sub_resource type="PhysicsMaterial" id="1"]
2024-03-26 10:00:07 +01:00
bounce = 0.5
2024-03-26 09:34:15 +01:00
[sub_resource type="CircleShape2D" id="2"]
radius = 37.1452
[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource("1")
gravity_scale = 4.0
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.5, 0.5)
texture = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("2")