Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotation issue with generator
#1
Hi

I have a Bezier spline, all normals pointin out (y direction) and it is not moving in z direction.
I then wish to create a specified GameObject on the cube, but when doing this it rotates the GameObject around y so the orientation no longer is correct.

i can se the same happens if i use "Quaternion.LookRotation(splineCurve.GetTangentByDistance(distanceAndOffset,Space.World))" then it turns the GameObject also on the y axis.
so the problem seems to be the spline but i cannot se the problem or what settings i should tweek.

do someone have an idea how to fix this

best regardsĀ 
Nicolaj
Reply
#2
Hi
Sorry but I am not sure to understand your issue. I will answer based on my understanding. Please send me a reproduction case if my answer is not relevant.

In your spline parameters, try to set the Orientation to Static: https://curvyeditor.com/documentation/sp...rientation
If Static is not good enough, set the value back to Dynamic, and rotate the Control Points that are orientation anchors. That way you can define the orientation of your spline manually.
If needed, please refer to this tutorial:
https://www.youtube.com/watch?v=hHLdW_FR...x=2&t=712s

I hope this helped.
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


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Generator Canvas workflow issues Sacryn 1 6 02-02-2024, 11:22 PM
Last Post: _Aka_
Exclamation bad rotation aloriza 5 10 11-29-2023, 09:52 AM
Last Post: _Aka_
  Disable Generator Rasterized Objects SAMYTHEBIGJUICY 3 5 09-01-2023, 03:38 PM
Last Post: _Aka_
  Getting reference to Generator and InputSplinePath Spline velikizlivuk 3 9 08-15-2023, 11:08 PM
Last Post: velikizlivuk

Forum Jump: