Made a playground to show the example…
//QUESTION: HOW TO GET WORLD COORDINATES of ExtrudeShape path3D getCurve points?
The GOAL: is to get a single array of all the vectors in world space - then make 1 seamless halfpipe.
But the points returned from getCurve() look like they are local positioned not world.
Not seeing path3D in playground. How best to get the world points?
I’ve tried a few things…
- invert the ExtrudeShape matrix and transform coordinate.
- add, addInPlace (the extrudeShape.position to the path point)
Is there a way to get world coordinates for the points? or convert to world? Or should I to “continue”?
Thanks so much,