60 lines
2.4 KiB
Text
60 lines
2.4 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://functional/ChargingStation.gd" type="Script" id=1]
|
|
[ext_resource path="res://Assets/Static/Charger.fbx" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 0.5, 0.3, 0.25 )
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
extents = Vector3( 0.3, 0.64, 0.3 )
|
|
|
|
[sub_resource type="BoxShape" id=3]
|
|
extents = Vector3( 0.066, 0.3, 0.29 )
|
|
|
|
[node name="ChargingStation" type="Area"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="DetectionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, -0.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Charger" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="."]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, -1.38 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="CollisionShape2" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.491861, 0, -0.870673, 0, 1, 0, 0.870673, 0, 0.491861, -0.506887, 0.3, -1.03898 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape3" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.808647, 0, -0.588293, 0, 1, 0, 0.588293, 0, 0.808647, -0.908246, 0.3, -0.680364 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape4" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.983019, 0, -0.183505, 0, 1, 0, 0.183505, 0, 0.983019, -1.12063, 0.3, -0.186044 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape5" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.17254, 0.3, 0.375283 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape6" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.491861, 0, 0.870673, 0, 1, 0, -0.870673, 0, 0.491861, 0.507, 0.3, -1.039 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape7" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.808647, 0, 0.588293, 0, 1, 0, -0.588293, 0, 0.808647, 0.908, 0.3, -0.68 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape8" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 0.983019, 0, 0.183505, 0, 1, 0, -0.183505, 0, 0.983019, 1.121, 0.3, -0.186 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="CollisionShape9" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.173, 0.3, 0.375 )
|
|
shape = SubResource( 3 )
|