Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting reference to Generator and InputSplinePath Spline
#1
Since only part of spline that can trigger collision is Mesh (FluffyUnderware.Curvy.Generator.CGMeshResource) how to get reference to its root (Generator) and Spline Path when collision with other object occurs?
Doing otherCollider.gameObject.transform.root.GetComponentInChildren<CurvySpline>() can result in multiple object for detecting Spline Path since same component is present in Spline Shape. 
On the other hand root of Spline can be other gameobject (not Generator and it is not component) so false positive is possible.
Reply


Messages In This Thread
Getting reference to Generator and InputSplinePath Spline - by velikizlivuk - 08-14-2023, 04:21 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_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 11 04-03-2024, 03:16 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_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: