====== Create a swingable item with joints ====== You can use joints to connect objects containing RigidBody to create a VCI that behave like a rope or a door. VCI supports Fixed Joint, Hinge Joint and Spring Joint.\\ For details of each parameter of these components, refer to [[en:vci:component:unitycomponent:joint|Joint]]. In this example, let's create a VCI with two cubes connected with a rope like structure === サンプルデータ === https://virtualcast.jp/products/05e4fa7a98ca1f8d579ab2ed8b8fe23e003bc6a9b02a91de01095dfe82306104 === Unitypackage === {{ vci:sample:joint:tutorial_joint_v1_1.zip |}} ===== Object configuration ===== The VCI we are going to create consists of three SubItems.\\ Please be aware that the connecting part in the middle is not synchronized. {{:en:vci:sample:joint:tutorial_joint1.png?direct&600|}} ===== Component setting ===== We do not use script this time.\\ Components for each objects are configured as below {{vci:sample:joint:tutorial_joint2.png?400|}} {{vci:sample:joint:tutorial_joint3.png?400|}} {{vci:sample:joint:tutorial_joint4.png?400|}} {{:en:vci:sample:joint:tutorial_joint5.png?direct&400 }} {{vci:sample:joint:tutorial_joint6.png?400|}} ===== Hint ===== You can make it behave like a pendulum by turning on "use Gravity" on blue_Cube.