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
  Generator gameobjects missing offset and rotated beewhale 5 418 08-30-2026, 07:51 PM
Last Post: beewhale
  Spline Issue Leading to Unity Freeze Pankaj09 1 201 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 159 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,079 06-30-2026, 11:49 AM
Last Post: _Aka_

Forum Jump: