You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to make the CharacterBody2D move with: get_parent().move_and_slide(Velocity);
(Velocity us a Vector2)
The game crash with this error: Invalid call to function 'move_and_slide' in base 'characterBody2D ()'. Expected 0 arguments
Steps to reproduce
Add a CharacterBody2D to the Scene tree (and the collider)
Add a GDScript to that node
In the '_physics_process' function add move_and_slide(Vector); with the Vector being a Vector2D with some value
Godot version
4.0.dev.calinou [d1f25bb]
System information
Windows 10, Vulkan, GTX 1080
Issue description
When I try to make the CharacterBody2D move with:
get_parent().move_and_slide(Velocity);
(Velocity us a Vector2)
The game crash with this error:
Invalid call to function 'move_and_slide' in base 'characterBody2D ()'. Expected 0 arguments
Steps to reproduce
Minimal reproduction project
Test42D.zip
The text was updated successfully, but these errors were encountered: