summaryrefslogtreecommitdiff
path: root/ActiveRagdoll/Assets/Scripts/JointMotionInfo.cs
blob: 7c7ed4a146ffe29c631ed562adec076079b1b792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class JointMotionInfo
{
    public enum MotionType
    {
        Torque, // drived by torque
        Force, // drived by force
    }

    public enum MoveDirection
    {
        FollowHip, // 和躯干方向一致
        Swing, // 单独摆动
    }

    public MotionType type;
    public MoveDirection direction;

    public float forceMultiplier;

}