- Home /
How do I push Obects around a Scene when pressing a button?
•My Scenario: I have a player that Want to push objects around... but the player can't just push the rigidbody object he must press a button/key to move said object.
•My Thought for this action: If I have a player, that player must be touching the object. So if the object is being touched and the player is pressing said key/button addforce.
•My Question: What force do I add to move the object and do I make the object kinematic or do I freeze it position until all requirements are met? Also fo I put the action under the "PushObject" script thats attached to an object or do I add the "PushObject" script to the player and add a find gameObjectWithTag to it?
•My references to what I want to do: Go to 6:29 in the video to see said example; https://youtu.be/ez_xVE_z0eI
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Help convert kinematic style movement to Forces. 1 Answer
When stopping Rigidbody.velocity 1 frame stutter C# 0 Answers
Trying to apply force to an object 1 Answer