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
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 Yesterday, 07:25 AM
Last Post: amutp
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 0 6 Yesterday, 03:23 AM
Last Post: _Aka_
  Generating GO only on CPs in Generator GameDeveloperek4123 1 6 03-04-2024, 11:06 AM
Last Post: _Aka_
Question Generator Canvas workflow issues Sacryn 1 7 02-02-2024, 11:22 PM
Last Post: _Aka_

Forum Jump: