Bone2D
Bone2D Motion Adapter connects Bone Controllers to transform the bone on a plane by using two factors among the Joint Model's tracking data(XYZ).
Last updated
Bone2D Motion Adapter connects Bone Controllers to transform the bone on a plane by using two factors among the Joint Model's tracking data(XYZ).
Last updated
For instructions on how to create a Bone2D Motion Adapter, please refer to ๐
1. In the Project window
, go to Assets > MYTYKit > MotionAdapter > Bone
, click and drag the Bone2D
prefab into the MotionAdapterGroup
object in the Hierarchy window
. You can change the name of Bone2D object If you want to.
2. Click on the โicon next to a Joint input box and select the joint anchor template to be applied. MYTY Kit v1.0 provides the Head anchor template
and Chest anchor template
.
3. You can select which axis(Look At or Up) to use the motion data of the anchor template on the From input drop box. Learn more about the axis of motion here.
4. To set which Controller to connect the X-axis and Y-axis motion data, click the โ icon next to TargetController. โ icon will bring up a Controller list from which you can select an option.
If nothing appears when you click the โ icon, it may be due to the following:
5. When all the elements are set, press the โถ๏ธ(Play)
button to check the avatar preview.
You can control the stabilizing method in the Advanced Options. To get more advanced information about this, refer to ๐ Stabilizing method.
Is Damping
: The latest input becomes more dominant than the older input.
Is Stabilizing
: It enables to detection of the moment of arrival of new data, and it makes the stabilization process much more rigorous.
Is Use Damped Input To Stabilizer
: Whether to use damped input as input for stabilizer
Damping Factor
: If Damping Factor=1, then the algorithm is just average. If Damping Factor becomes larger, it means that the latest input becomes more dominant than the older input.
Damping Window
: The amount of input data frames to configure the damping algorithm.
Stabilize Method
: Which method to apply to stabilize algorithm.
If nothing appears when you click the โ icon, it may be due to the following: The DefaultMotionTemplate or the MediapipeMotionPack prefab is not in the Hierarchy window โ Check and
The appropriate Script(s) are not applied to the Controller โ Check