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


Messages In This Thread
Rotation issue with generator - by nicolaj.h.andersen@gmail.com - 04-14-2023, 06:37 AM
RE: Rotation issue with generator - by _Aka_ - 04-14-2023, 11:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to rotate generator asteroids patndan74 6 3,172 05-08-2025, 10:07 PM
Last Post: _Aka_
  I have to refresh generator manualy :( GameDeveloperek4123 4 2,423 10-07-2024, 05:36 PM
Last Post: _Aka_
  Bug: Save Generator Outputs still saves outputs if object is disabled curvymesher 1 1,366 08-30-2024, 09:19 AM
Last Post: _Aka_
  How can I set the generator to stop updating? emerrryjones 1 1,278 07-26-2024, 10:07 AM
Last Post: _Aka_

Forum Jump: