Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

How do I setup hinge joint physics?

Discussion in 'Physics' started by TheGoopyPixel, Aug 9, 2018.

  1. TheGoopyPixel

    TheGoopyPixel

    Joined:
    Apr 29, 2017
    Posts:
    181
    In my game the player is able to hold up a lantern for some light, however it is currently very static and I don't like this. I wanted to add some physics to the lantern by using a hinge joint component, but I can't get it working properly. Basically, the players arm and lantern are made up of 3 parts: the arm, the handle (which is a child of the arm), and the lantern (which is a child of the handle). When I add the hinge joints to the handle and lantern the physics become super strange, they rotate slowly into strange positions and don't seem to react to the players movement, almost like they have no weight. Help would be appreciated
     
    Last edited: Aug 10, 2018