Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to spawn GameObjects on corners of the liinear spline?
#4

  1. If you place objects through the generator, you can only place them with defined spacing. You can't set a dynamic spacing such as "at each corner"
  2. In your case, using a linear spline, corners are always positioned were your control points (CP for short) are. So just put your prefabs at the same position as your CPs.
  3. The calculation is based on the bounding volume of the object's mesh (and if any its collider too)
  4. You can by modifying the code. But there is a simpler method: just modify the value of "Space before" or "Space after" (both can be negative)
    https://curvyeditor.com/documentation/generator/modules/volumespots?redirect=1#group
Please let me know if you have any other questions
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: How to spawn GameObjects on corners of the liinear spline? - by _Aka_ - 09-12-2019, 11:35 AM

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: