Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LineSelectorData changes in V2
#1
In V1 LineSelectorData has a LastClosestPositionOnLine property that returns the position (Vector3) closest to the mouse position

In V2 this property has been removed, and a new GetClosestPositionOnLine method has been added. However the method requires rayOrigin and rayDirection parameters which I don't know how to set in this case.

Would it not make sense to have a version that uses the pointer position (Vector2) that was passed to the LineSelectorData.GetClosestDistance to determine the closest line?
  


Messages In This Thread
LineSelectorData changes in V2 - by henkt - 08-21-2024, 01:20 PM
RE: LineSelectorData changes in V2 - by abenedik - 08-21-2024, 01:56 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)