Godot Version 4.3
Replace this line with your Godot version
Question
`please help me fix some of the code in the GODOT 4.3 version.
the code is like this:move_and_slide(transform.basis.xform(Vector3(0, x_pos, moving_vec.z)))
the code does not work and gives such errors:
- Identifier “x_pos” not declared in the current scope.
- Cannot find property “xform” on base “Basis”.
- Function “xform()” not found in base Basis.
- Too many arguments for “move_and_slide()” call. Expected at most 0 but received 1.
Thank you in advance!