private void UpdatePositionSubsequent() { if (world_press_target != null) { if (is_dragging) { world_press_target.Drag(this); } else { if (current_press_position.IsOutsideDistance(touch_point.GetWorldPoint(), world_press_system.GetDragThreshold())) { world_press_target.Grab(this); drag_point = CreateRelativePointFromWorldPoint(GetCurrentPressPosition()); is_dragging = true; } } } }
public Vector2 GetDragPoint() { return(drag_point.GetWorldPoint().GetPlanar()); }