Translations of this page:

Sidebar

en:vci:sample:joint:tutorial

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 Joint.

In this example, let's create a VCI with two cubes connected with a rope like structure

Example data:
https://seed.online/items/e9f776bd8e9397be4d269b946cbd0fb8aa00c2e93316b4850796ec6aad18c5ec

Example unity package:

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.

Component setting

We do not use script this time.
Components for each objects are configured as below

Hint

You can make it behave like a pendulum by turning on “use Gravity” on blue_Cube.

en/vci/sample/joint/tutorial.txt · Last modified: 2021/06/30 14:36 by t-daihisa

Page Tools