mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
d1c87d96b3
* GroupBehaviours Demo: Click on member to see radius * fixed groupbehaviour demo
19 lines
513 B
Plaintext
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
|