Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting spline collider hit point to spline position
#1
Hi again,

I'm trying to add an object (let's say a cube) to a spline at the position where the spline was clicked. I'm using raycast and can get the spline clicked hit.point no issue, but how do I then convert that to an actual spline position so I can then add and move the cube to the correct location on the spline?

Many thanks (once again) for your valuable time

John
Reply


Messages In This Thread
Converting spline collider hit point to spline position - by jh092 - 06-25-2020, 04:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 Yesterday, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: