Shrink interact collision shapes
This commit is contained in:
parent
bec05882d7
commit
7583776537
@ -2,11 +2,10 @@
|
|||||||
|
|
||||||
[ext_resource path="res://scripts/coin_machine.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/coin_machine.gd" type="Script" id=1]
|
||||||
|
|
||||||
[sub_resource type="SphereShape" id=1]
|
[sub_resource type="BoxShape" id=1]
|
||||||
|
|
||||||
[node name="coin_machine" type="Area"]
|
[node name="coin_machine" type="Area"]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||||
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 )
|
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 1 )
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://assets/protodungman/DungMan.glb" type="PackedScene" id=2]
|
[ext_resource path="res://assets/protodungman/DungMan.glb" type="PackedScene" id=2]
|
||||||
|
|
||||||
[sub_resource type="SphereShape" id=3]
|
[sub_resource type="BoxShape" id=3]
|
||||||
|
extents = Vector3( 0.25, 0.25, 1 )
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape" id=2]
|
[sub_resource type="CapsuleShape" id=2]
|
||||||
radius = 0.210213
|
radius = 0.210213
|
||||||
@ -19,7 +20,7 @@ unique_name_in_owner = true
|
|||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.630386 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.630386 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="DungMan/TriggerVolume"]
|
[node name="CollisionShape" type="CollisionShape" parent="DungMan/TriggerVolume"]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.168703 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.778807, 0.291356 )
|
||||||
shape = SubResource( 3 )
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||||
|
@ -13,7 +13,6 @@ script = ExtResource( 1 )
|
|||||||
time_to_generate = 1.0
|
time_to_generate = 1.0
|
||||||
|
|
||||||
[node name="coin_machine" parent="." instance=ExtResource( 2 )]
|
[node name="coin_machine" parent="." instance=ExtResource( 2 )]
|
||||||
transform = Transform( 4, 0, 0, 0, 2, 0, 0, 0, 4, 0, 0, 0 )
|
|
||||||
coins_required = 0
|
coins_required = 0
|
||||||
|
|
||||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user