mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
rename translate(d) to translate(d)_local in Transform 2D/3D
This commit is contained in:
@@ -296,7 +296,7 @@ void PathFollow3D::_update_transform(bool p_update_xyz_rot) {
|
||||
}
|
||||
}
|
||||
|
||||
t.translate(Vector3(h_offset, v_offset, 0));
|
||||
t.translate_local(Vector3(h_offset, v_offset, 0));
|
||||
} else {
|
||||
t.origin = pos + Vector3(h_offset, v_offset, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user