diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-14 23:43:49 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-15 09:16:13 -0400 |
commit | 48679e842e85877370c948974b66aa701c0e3bb7 (patch) | |
tree | 13ba4cf4ed51b2536a91155fa6917078820738f4 /World.gd | |
parent | 0610d7fdcaa15f7b6dc9b3ff03641a1093c01275 (diff) | |
download | godot_wildjam_49-48679e842e85877370c948974b66aa701c0e3bb7.tar.gz godot_wildjam_49-48679e842e85877370c948974b66aa701c0e3bb7.zip |
Reorganize the Main scene and fix the collision layers/masks
Diffstat (limited to 'World.gd')
-rw-r--r-- | World.gd | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,8 @@ extends RigidBody export var acceleration = 10.0; func travel(direction:Vector3): - var boat_direction = $"/root/Main/Raft".global_transform.basis + var boat = $"/root/Main/Raft" + var boat_direction = boat.global_transform.basis boat_direction = Basis(Vector3.UP*boat_direction.get_euler().y) direction = -direction direction = boat_direction * direction |