- Home /
how to move object with joint
I have 2 cubes. The cube1 moves (left and right) The cube2 moves ^V (up and down) If cube1 moves, cube2 also moves. if cube2 moves, cube1 doesn't move. Now I want that that cube2 moves like a fixed joint over the x-axis. but it still needs to be able to move up and down. How is this possible?
Edit:
can the problem occur because my movement is based on transform instead of rigidbody?
Answer by Aldwoni_legacy · Jun 28, 2011 at 07:34 AM
I based my movement on rigidbody.velocity and took and Configurable joint instead of a fixed joint.
Answer by themusicdork · May 26, 2011 at 10:21 AM
in the Inspector simply Lock the axes you don't want to move.
I already have the movement I want, but now I need to add a fixed joint. but when I add it, it doesn't do anything.
Your answer
Follow this Question
Related Questions
Change length of fixed joint 5 Answers
Multiple conected bodies for joint? 0 Answers
Enemy circles player instead of attacking. 1 Answer
Fixed joint - not really fixed? 5 Answers