How do I make my 3d cube move left and right with buttons in Unity with RigidBody.AddForce()?
I can't figure out how to do this in Unity!
I'm trying to make my game playable on Android but I can't get my cube to move with buttons!

  • 2
    \$\begingroup\$ Welcome to GDSE. It would help if others could see the code that you have thus far. \$\endgroup\$ – Pikalek Nov 6 '19 at 17:46
  • 1
    \$\begingroup\$ This seems to be something that is covered by many tutorials and guides a simple search away - what do you need us to explain that hasn't already been explained many times before? \$\endgroup\$ – DMGregory Nov 6 '19 at 20:54
  • \$\begingroup\$ i dont really understand any of it, ive looked at all of the posts and i dont know how to implament that to my own likeing \$\endgroup\$ – SSBGammes Nov 6 '19 at 22:04
  • \$\begingroup\$ Can you explain to us where specifically you get lost? If a dozen different authors talking about the topic haven't been clear for you so far, then we have a very high probability of making the same mistakes they did: explaining the topic in the same way that you already find unhelpful. So, walk us through how you understand the subject so far, how you've tried putting these guides into practice, and where specifically you run into trouble. With that detail, we can tailor our explanations to what you really need, rather than just rehashing stuff that's already out there. \$\endgroup\$ – DMGregory Nov 6 '19 at 22:34
  • \$\begingroup\$ Basically the other ones wouldn't start from the start, so IDK what to do with the code they found that fixed it. So can you explain how to do it from the start, please? \$\endgroup\$ – SSBGammes Nov 8 '19 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.