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/ge...ct=1#group
Please let me know if you have any other questions
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
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
  Spline Spots from 2 samples. BitBlit 8 659 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,071 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 868 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,899 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: