mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
Fix compiler errors after pos to position renames
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user