Jump to content
Sign in to follow this  
ItsDangerous

ProBuilder Splines

Recommended Posts

The spline has a problem when you loop it.

It appears that you are using world up to calculate the rotation along the spline. I think instead try using world up on your first segment and then referencing the previous segment as a new up direction for all of them. Then it should flow naturally I think. If not that, there has to be a way. Blender can do it. 

loop.png

Share this post


Link to post
Share on other sites

Looking at the code, that sounds like it may be right. Right now it's getting the rotations for points from Quaternion.LookRotation(dir), skipping the second parameter entirely.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×