diff options
author | Malfurious <m@lfurio.us> | 2022-10-29 00:30:16 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-10-29 00:30:16 -0400 |
commit | 90875a219cd8122a73cb5a6677406f9c517c123e (patch) | |
tree | 52492237a67b2843913f0586f1d1edb1358008e4 /assets/weapons | |
parent | db1712f718fd9d6161e02cee55763434187b5730 (diff) | |
download | project-s-90875a219cd8122a73cb5a6677406f9c517c123e.tar.gz project-s-90875a219cd8122a73cb5a6677406f9c517c123e.zip |
WIP Use new Goo Gun model on playerwip/mika-googun-model
This is a quick hack to enable the gun model for use. The Nozzle node
(which previously also provided part of the gun geometry) is referenced
by a script as the spawn location of projectiles, and so is added for
compatibility.
Diffstat (limited to 'assets/weapons')
-rw-r--r-- | assets/weapons/goo_gun_update_model/goo_gun.tscn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/weapons/goo_gun_update_model/goo_gun.tscn b/assets/weapons/goo_gun_update_model/goo_gun.tscn index bfcc229..5e9c4fe 100644 --- a/assets/weapons/goo_gun_update_model/goo_gun.tscn +++ b/assets/weapons/goo_gun_update_model/goo_gun.tscn @@ -1,5 +1,10 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://assets/weapons/goo_gun_update_model/goo_gun.gltf" type="PackedScene" id=1] +[ext_resource path="res://assets/weapons/goo_gun/GooGun.gd" type="Script" id=2] [node name="goo_gun" instance=ExtResource( 1 )] +script = ExtResource( 2 ) + +[node name="Nozzle" type="Spatial" parent="." index="2"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.342731, 1.96888 ) |