Ball implemented, started work on game AI
This commit is contained in:
15
proto2/items/ball/ball.tscn
Normal file
15
proto2/items/ball/ball.tscn
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://items/ball/ball.gd" type="Script" id=1]
|
||||
[ext_resource path="res://items/ball/ball.escn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="SphereShape" id=1]
|
||||
radius = 0.25
|
||||
|
||||
[node name="ball" type="RigidBody"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ball" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
Reference in New Issue
Block a user