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
  I have to refresh generator manualy :( GameDeveloperek4123 3 7 09-30-2024, 09:55 PM
Last Post: _Aka_
  Bug: Save Generator Outputs still saves outputs if object is disabled curvymesher 1 3 08-30-2024, 09:19 AM
Last Post: _Aka_
  How can I set the generator to stop updating? emerrryjones 1 8 07-26-2024, 10:07 AM
Last Post: _Aka_
  Rasterized Path Range issue proton 7 27 04-30-2024, 11:17 AM
Last Post: _Aka_

Forum Jump: