This is my first time using a visual scripting tool and as i’m more used to write the scripts, i need some help setting up a simple top-down rigidbody movement with wasd and also rotating the player to the mouse. I would appreciate the steps to do it or some screenshots.
Hi, You should try to create your flow and discover flowcanvas by the way. Then if you have problems with your flow, you can post screenshots here and we will be happy to help you Trying is best solution to learn flowcanvas If you can make it with scripts, just try to reproduce in flowcanvas, it’s very similar.
Thanks for the response. I managed to make the character walk, but when i rotate the camera, the wasd controls inverses. I tried using the TransformDirection node but it messed the movement as i don’t know exactly where to place it. Could anyone replicate the inverse movement and explain me how to fix it?
I also would like someone to help on how to rotate the player to the mouse using raycast, i tried replicating it from code but connecting the raycast nodes really confuses me.
I have just tried this and it seems to work as expected. The camera rotation should by no means affect the Input Axis.
Notice also, that you can use the “Per Second” node to multiply a value by Delta Time and a Multiplier (usually speed), in one go.