Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unpredictable mesh generation
#3
(05-05-2016, 10:08 AM)Jake Wrote: After examining the scene the problem seems to being caused by the spline's RestrictTo2D mode in combination with Dynamic Orientation. If you disable 2D, you'll notice the orientation rolls in curves (like a plane would fly the path), but using 2D makes the dynamic orientation pointless.

I switched Orientation to Static and set a proper rotation (-90,0,0), then it looks like expected.

Thank you for your answer!
The road stays correctly aligned, but I still get this issue: 
   
This is what I did: I switched the orientation to static (and turned off restrictTo2D) and when I generate the control point I used the following line of code:

Code:
CSS.rotation = Quaternion.LookRotation(new Vector3(-90, 0, 0)); //CSS = a CurvySplineSegment

Thanks again!
Reply


Messages In This Thread
unpredictable mesh generation - by BlackRainbowFT - 05-04-2016, 12:24 PM
RE: unpredictable mesh generation - by Jake - 05-05-2016, 10:08 AM
RE: unpredictable mesh generation - by BlackRainbowFT - 05-05-2016, 02:45 PM
RE: unpredictable mesh generation - by Jake - 05-06-2016, 08:51 AM
RE: unpredictable mesh generation - by Jake - 05-18-2016, 07:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 296 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,311 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,597 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,821 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: