Help with movement.

Forums πŸ’¬ FlowCanvas βš™οΈ Support Help with movement.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12805
    rickbunny
    Participant

      Hi.

      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.

      Thanks in advance!

      #12808
      fweds
      Participant

        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.

        #12807
        rickbunny
        Participant

          [quote quote=2285]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. [/quote]

          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.

          Here is a screenshot of the movement graph:

           

          #12806
          Gavalakis
          Keymaster

            Hello,

             

            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.

            [attachment file=”Move-1.png”]

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.