21 lines
926 B
Plaintext
21 lines
926 B
Plaintext
[gd_scene format=3 uid="uid://cgspo5g17dtg4"]
|
|
|
|
[ext_resource type="Script" uid="uid://dbfvho370q6cq" path="res://test/Scripts/coin.gd" id="1_h1t07"]
|
|
[ext_resource type="PackedScene" uid="uid://bnucoo28ydn2d" path="res://test/assets/addons/3dplatformprops-main/godot_coin.glb" id="2_ab8qe"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8bk7x"]
|
|
height = 0.2
|
|
radius = 0.36
|
|
|
|
[node name="Coin" type="Area3D" unique_id=948322406]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
script = ExtResource("1_h1t07")
|
|
|
|
[node name="Collision_coin" type="CollisionShape3D" parent="." unique_id=505163209]
|
|
transform = Transform3D(1, 0, 0, 0, -0.00523593, -0.9999863, 0, 0.9999863, -0.00523593, 0, 0, 0)
|
|
shape = SubResource("CylinderShape3D_8bk7x")
|
|
|
|
[node name="coin_model" parent="." unique_id=2120145985 instance=ExtResource("2_ab8qe")]
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|