Beispiel #1
0
        public void StartWandering(Vector3 origin, Vector3 distance, Dictionary <int, object> options)
        {
            lock (m_movementLock)
            {
                if (MovementInProgress)
                {
                    StopMovement();
                }

                WanderingAction.WanderingDescription desc =
                    new WanderingAction.WanderingDescription(origin, distance, options);

                BeginTrackingFrames(desc);
            }
        }
        public void StartWandering(Vector3 origin, Vector3 distance, Dictionary<int, object> options)
        {
            lock (m_movementLock)
            {
                if (MovementInProgress)
                    StopMovement();

                WanderingAction.WanderingDescription desc =
                    new WanderingAction.WanderingDescription(origin, distance, options);

                BeginTrackingFrames(desc);
            }
        }