Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating GO only on CPs in Generator
#2
Hi
It is possible, either via API, or the generator:
- Via API: Go throuh all you control points and instantiate your object at each of their positions.
Code:
foreach (CurvySplineSegment cp in spline.ControlPointsList)

    Instantiate(objectToInstantiate, cp.transform.position, spline.GetOrientationFast(cp.TF));
- Via Generator: Define the generation spots as being the control points of your spline
   

I hope this helped.
If and when you feel like it, please leave a review for the asset, that helps a lot.
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: Generating GO only on CPs in Generator - by _Aka_ - 03-04-2024, 11:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 11 04-03-2024, 03:16 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp
Question Generator Canvas workflow issues Sacryn 1 7 02-02-2024, 11:22 PM
Last Post: _Aka_
  Disable Generator Rasterized Objects SAMYTHEBIGJUICY 3 5 09-01-2023, 03:38 PM
Last Post: _Aka_

Forum Jump: