void Start() { _capsule = fun.meshes.CreateCapsule( new DtCapsule { name = "capsule", radius = 0.1, height = 1 }) .SetStandardShaderTransparentColor(0, 1, 0, 0.6) .transform; _capsule.LookAt(Vector3.one * 10); _time.SetTime(3); _rotation = new AngleAxisData(720, Vector3.up); }
void Start() { _time.SetTime(seconds); _rotation = new AngleAxisData(_from, _to, _axis); Debug.Log(_rotation.Angle); }