Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shapes points orientation
#1
Hi,
I'd like to know if there is a way to change the orientation of a spline that was generated using the Shapes components (Rounded Square, Circle, etc...)

Currently I can set them on the plane I want but the spline points are not necessarily oriented as I wish.
For instance :

Here the circle shape on the correct plane but with the wrong orientation:
[Image: bXmg6HH.png]

And here is the orientation I need:
[Image: F0ZES26.png]

Like I did for the second screenshot, I can easily fix it by manualy rotating the points but this is not very iteration friendly and sometimes the shape get refreshed and I loose the changes.

I wish to know if there is a way or a plan to fix  this issue ?

Thanks Smile
Reply
#2
Hi
The reason you loose changes is that the Shape's script updates the associated spline, overriding your changes. Disabling the script should avoid this issue.
Besides manually rotating the points, the solution I see is to modify the Shape's code. The method to check is ApplyShape(). You will see that the CPs' position is set in that method, you can set the rotations too.
Did this help?
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Hi,
Indeed it helps. I was going to eventually change the code but I thought it would be a nice option to have by default.

Thanks for the fast answer!
Have a great day
Reply
#4
You are welcome. I take note of your suggestion, I might implement it in the future.
Thanks and have a great day too
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Maintaining vertical orientation of extruded meshes rickgplus 3 371 01-24-2025, 09:24 PM
Last Post: _Aka_
  Scene 51: Dynamic track between two points wallflower6 3 257 08-19-2024, 08:18 AM
Last Post: _Aka_
  Variable Mix Shapes stretches faces GameDeveloperek4123 8 521 08-12-2024, 08:34 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 332 04-02-2024, 02:24 PM
Last Post: _Aka_

Forum Jump: