godot-steering-ai-framework/godot/Demos/GroupBehaviors/Member.tscn
CodeDoes d1c87d96b3
Make group members show their radius on click
* GroupBehaviours Demo: Click on member to see radius

* fixed groupbehaviour demo
2020-12-28 12:08:14 -05:00

19 lines
513 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Demos/GroupBehaviors/Member.gd" type="Script" id=1]
[ext_resource path="res://Demos/Utils/CircleDraw.gd" type="Script" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 16.0
[node name="Member" type="KinematicBody2D"]
input_pickable = true
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
script = ExtResource( 3 )
outer_color = Color( 0.301961, 0.65098, 1, 1 )
stroke = 4.0