Simple movement – physics or no?

Home Forums Puzzles Simple movement – physics or no?

This topic contains 1 reply, has 2 voices, and was last updated by Yuri Kovelenov Yuri Kovelenov 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13844
    Pottsie
    Pottsie
    Newbie

    Hi!

    Say I just have a simple cube on a plane. I’d like to move the cube on the plane using the arrow keys.

    I’m sure there are many ways to achieve this. But I’m wondering about this specific scenario – if I use the create physics (world and body) piece, do I also need to use “apply force” to move the cube, or can it be done with the “set position” piece?

    I wasn’t sure if using physics then binds you to only using those rules. I don’t know if I’m making sense. :)

    Thanks!

    • This topic was modified 2 months, 2 weeks ago by Pottsie Pottsie.

    Check out my sketch book :) | www.instagram.com/b.potts.art/

    #13854
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Hi,

    A recommended way to move a physics body by user input is to use the snap body physics puzzle. For example, you are moving an empty and snap your physics body to this empty every frame.

    UPD If you don’t need physics in your scene then you just don’t use it :)

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.