Posts: 6
Threads: 2
Joined: Oct 2021
I need to place different materials on a race track, but since I cannot do it via the v coordinate of UV, I am creating separate Volumes from the same spline.
To do this, I use the Shape Extrusion module and set the "From" values to the relative values that I need in the spline.
Is there a way to do it with absolute position rather than relative?
Thanks!
Posts: 2,113
Threads: 92
Joined: Jun 2017
Hi
The UI of that module takes relative distances/position, which should be multiplied by the length of the path to have the absolute distance/position. So the solutions I think about are, by order of needed coding:
- Do the division and input the result in the module
- Add a script to the Shape Extrusion's Game Object, scipt having an input field were you input the relative position and it does the computation and updates the From value via API.
- Modify the Shape Extrusion module's code to consider its inputs as absolute distances/positions
Did that help?
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 6
Threads: 2
Joined: Oct 2021
Posts: 2,113
Threads: 92
Joined: Jun 2017
You are welcome.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.