private new void Update()
    {
        base.ToggleConnect();
        base.Update();

        if (boundActor != null && boundAnimator != null && motionUpdateMethod == UpdateMethod.Normal) // !physicalUpdate )
        {
            if (physicalReference.Initiated())
            {
                ReleasePhysicalContext();
            }
            ApplyMotion(boundActor, boundAnimator, bonePositionOffsets, boneRotationOffsets);
        }
    }
Example #2
0
    new void Update()
    {
        base.ToggleConnect();
        base.Update();

        if (boundActor != null && boundAnimator != null && !physicalUpdate)
        {
            if (physicalReference.Initiated())
            {
                ReleasePhysicalContext();
            }

            ApplyMotion(boundActor, boundAnimator, bonePositionOffsets, boneRotationOffsets, enableHipsMovement, hipHeightOffset);
        }
    }
Example #3
0
    new void Update()
    {
        base.ToggleConnect();
        base.Update();

        if (boundActor != null && boundAnimator != null && !physicalUpdate)
        {
            if (physicalReference.Initiated())
            {
                ReleasePhysicalContext();
            }

            ApplyMotion(boundActor, boundAnimator, ref lastEvaluateTime, bonePositionOffsets, boneRotationOffsets);
        }
    }
    new void Update()
    {
        //Debug.Log("NeuronAnimatorInstance::Update()");

        base.ToggleConnect();
        base.Update();

        if (boundActor != null && boundAnimator != null && !physicalUpdate)
        {
            if (physicalReference.Initiated())
            {
                ReleasePhysicalContext();
            }

            ApplyMotion(boundActor, boundAnimator, bonePositionOffsets, boneRotationOffsets);
        }
    }
Example #5
0
    new void Update()
    {
        if (!bFixedUpdateMode)
        {
            base.ToggleConnect();
            base.Update();

            if (boundActor != null && boundAnimator != null && !physicalUpdate)
            {
                if (physicalReference.Initiated())
                {
                    ReleasePhysicalContext();
                }

                fLerpDeltaTime = Time.deltaTime;
                ApplyMotion(boundActor, boundAnimator, bonePositionOffsets, boneRotationOffsets, bFixedUpdateMode, fLerpPosition, iFPS, fLerpDeltaTime);
            }
        }
    }
        private void Update()
        {
            // TODO: Update this line
            bvh = store.Bvh;

            if (BoundAnimator != null && MotionUpdateMethod == UpdateMethod.Normal)
            {
                if (PhysicalReference.Initiated())
                {
                    ReleasePhysicalContext();
                }
                if (bvh != null)
                {
                    ApplyMotion(BoundAnimator, bonePositionOffsets, boneRotationOffsets);
                }
            }
        }