Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best practice for mass-object instancing along 100km spline (railways) plus streaming
#8
(09-13-2019, 12:30 PM)_Aka_ Wrote:
(09-13-2019, 12:12 PM)bs@vectorvision.de Wrote: We are now trying to adjust the instanciation script in a way that it places the instances at the same location as the spline points -currently they start at 0,0,0 world coordinates.
Just convert the positions from the spline's local space to the global space, using the spline's transform method TransformPoint

We tried this. The problem is that the instances always take over the position of the spline control points and a transformation of the spline itself does not provide a solution. My question therefore is: How can the control points be transformed into the global coordinate system?
Reply


Messages In This Thread
RE: Best practice for mass-object instancing along 100km spline (railways) plus streaming - by teamteam - 09-18-2019, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 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 14 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: