Relative Joint 2D is used to keep two gameobjects within a relative distance position and angle from each other. The Relative Joint 2D has the Max force property which will apply a force of the specified magnitude on the gameobject from the opposite end in order to keep it at its existing position. The Relative Joint 2D has the Max torque property which will keep the game object at its existing position by the amount of rotation specified in that property. When you tick on the Auto configure offset property, the gameobject will have the relative joint 2d attached to it whenever its repositioned. When Auto Configure offset property is unchecked we can move the gameobject irrespective of the Relative Joint 2D attached to it.
The Break Force property is the amount of force that when applied to the gameobject causes it to break off from the Relative Joint 2D. The Break torque is the amount of rotation on reaching which the gameobject detaches itself from the Relative Joint 2D. The connected rigidbody property helps us to attach the gameobject to any other gameobject and keep both of them at a relative position and angle from each other. The enable collision property will enable collisions of the gameobject with its attached rigidbody gameobject and also it will collide with all other colliders in the scene.
Similarly break torque is the amount of torque when applied to the gameobject results into breaking of friction joint of the gameobject. Anchor is the position on the gameobject where it is connected to. Connected anchor is the position on the connected rigidbody where this gameobject is connected to. Enable collision will result into the gameobject having the friction joint 2d attached to it collide to the gameobject that it is connected to.Connected rigidbody is the slot where you can drag any gameobject that you want to attach to this gameobject.
You can also catch me up or support me on these platforms
twitter
/ unitylearning1
facebook
/ unitylearning1987
Patreon
/ unitylearning1987
Relative Joint 2D is very important to understand in order to make a good game in Unity. Unity 2D has various types of joints that if one knows properly then one can make a nice 2D game. Unlike Hinge Joint which is used to make a trap door kind of object, a Relative joint 2d helps in making a gameobject that is at a relative position and angle from its attached gameobject. People often ask as to how to make a 2d game in Unity. But if they properly follow all the basic tutorials then making a 2d platformer type of a game becomes relatively easy. Along with Unity Rigidbody if all the joints are well understood, then making a game won't be that difficult. If the Unity Collider is also learnt then one will know of the physics forces. All these are applied to a Unity sprite. If you want to make a Unity 2D game then knowing the basics is very important.
Unity Physics is very useful to understand if you want to make a budding career in game programming. In this Unity 2d tutorial i give a little explanation of the Relative joint 2D. Using Unity's 2d game engine, making a simple Unity game won't be that difficult. Relative joint works for 3d physics whereas Relative joint 2D works for 2D physics. In this Unity Physics tutorial you will learn everything related to Relative joint 2D. One should watch any Unity tutorial in order to start. This would be good for indie game development. You can make nice games using Relative joint 2D.
If you liked this video, please hit the subscribe button and click on the bell icon so that you get notified of the new video that i post here on YouTube. Thanks for watching and do share the video with your friends and let me know what i can do to make the videos better. See you soon and have a good day ahead.
On this page of the site you can watch the video online Relative Joint 2D - Unity Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Keep Learning 24 June 2019, share the link with friends and acquaintances, this video has already been watched 2,264 times on youtube and it was liked by 25 viewers. Enjoy your viewing!