From dca08534bc583a101a9f9f358ecb65d9c82904b6 Mon Sep 17 00:00:00 2001 From: Scott Beca Date: Fri, 29 Sep 2017 23:06:14 +1000 Subject: [PATCH] Fix compiler errors after pos to position renames --- 2d/physics_platformer/player.gd | 2 +- 3d/kinematic_character/follow_camera.gd | 2 +- 3d/platformer/follow_camera.gd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/2d/physics_platformer/player.gd b/2d/physics_platformer/player.gd index 7fc0a8e8..83b237a5 100644 --- a/2d/physics_platformer/player.gd +++ b/2d/physics_platformer/player.gd @@ -213,7 +213,7 @@ func _integrate_forces(s): # Apply floor velocity if (found_floor): - floor_h_velocity = s.get_contact_collider_velocity_at_pos(floor_index).x + floor_h_velocity = s.get_contact_collider_velocity_at_position(floor_index).x lv.x += floor_h_velocity # Finally, apply gravity and set back the linear velocity diff --git a/3d/kinematic_character/follow_camera.gd b/3d/kinematic_character/follow_camera.gd index 73b36ee3..2275b36d 100644 --- a/3d/kinematic_character/follow_camera.gd +++ b/3d/kinematic_character/follow_camera.gd @@ -35,7 +35,7 @@ func _fixed_process(dt): pos = target + delta - look_at_from_pos(pos, target, up) + look_at_from_position(pos, target, up) # Turn a little up or down var t = transform diff --git a/3d/platformer/follow_camera.gd b/3d/platformer/follow_camera.gd index aa99a263..e49b9475 100644 --- a/3d/platformer/follow_camera.gd +++ b/3d/platformer/follow_camera.gd @@ -58,7 +58,7 @@ func _fixed_process(dt): pos = target + delta - look_at_from_pos(pos, target, up) + look_at_from_position(pos, target, up) # Turn a little up or down var t = get_transform()