コード例 #1
0
        /// <summary>
        ///     Use this to update the target point.
        /// </summary>
        public void SetTarget(Vec2 target)
        {
            if (Body2.IsSleeping())
            {
                Body2.WakeUp();
            }

            Target = target;
        }