e.Viewport.GetFrustumLine(e.WindowPoint.X, e.WindowPoint.Y, out pick_line);
pick_context.PickLine = pick_line;
pick_context.UpdateClippingPlanes();
_Gumball.PickGumball(pick_context, this);
When using rays to determine whether Gumball is selected, errors always occur in the perspective view. This has been bothering me. Is there a better way to solve this problem?
1 post - 1 participant