Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conform function, but applied to different directions at the same time
#1
Hi,

I just bought Curvy and I would like to know if it's possible to use the conform path function in the following ways (see image attached). 
1) The first is just a cube that has the spline projected along two sides of it automatically from the top, 2) the second is cylinder (seen from the inside) that has the spline path projected onto its inner wall automatically, but flat onto it and not horizontal. This last part should be done through orientation I guess. I'm still reading but it'd be great if there's a way to achieve this without manual placement obviously, but using conform. Thanks

https://freeimage.host/i/1CDBgR
Reply
#2
Hi

If not seen already, I recommend watching this tutorial to be up to date to what is possible: https://www.youtube.com/watch?v=PtP4A2sQphE

Now about your specific case. The state of the existing is:
1/Possible using the existing features, but the last CP, which would be projected on nothing, will stay at its pre-projection position.
2/ Not possible, since current features project on a single direction.

But, you can modify the existing code, or create new code (using Curvy's API and Unity's API) to make your own projection logic. The ConformPath module is a good place to start to see how projection is done.

Did this help?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using scripting to generate meshes over time croner1907 5 20 02-11-2022, 10:17 PM
Last Post: _Aka_
Question IndexOutOfRangeException in CurvySplineSegment.LocalFToDistance function mchangxe 13 3,235 05-06-2021, 12:56 PM
Last Post: _Aka_
  Create spline at run time AnAppGames 2 832 04-20-2021, 07:14 PM
Last Post: _Aka_
  Adding function to set GameObjecs in InputGameObject.cs Mos Def 2 941 04-01-2021, 03:43 PM
Last Post: Mos Def

Forum Jump: