Box2DX.Dynamics.MouseJoint.SetTarget C# (CSharp) Method

SetTarget() public method

Use this to update the target point.
public SetTarget ( Vec2 target ) : void
target Box2DX.Common.Vec2
return void
        public void SetTarget(Vec2 target)
        {
            if (_body2.IsSleeping())
            {
                _body2.WakeUp();
            }
            _target = target;
        }