Hello. Who can explain to me what I’m doing wrong with WPO?
I want to move the mesh to a specific point in space via world position offset. I want to set the world value through the material.
For example, I want to move the mesh to (x=300 y=0 z=0).
I created the following material and set the offset.
After that, the mesh disappears from space. I tried to change the bounds scale,.
Perhaps I misunderstand the WOP. Or do I need to do a transformation to another space?
This was an abstract example. I’m solving a slightly different problem.
In this case, I want to move the mesh to a specific location through the WPO. I want to set world loc at material
Next question is more difficult.
For example, if I have a pipe mesh.
I want to deform (bend) it and move it in space with WPO.
I have an interpolation function that can calculate the position for each pixel inside material
1 - original mesh
2 - after deformation
The idea is the following.
I have some number of static meshes (straight tubes or straight cylinders or straight pipes). I want to make some kind of spline out of them.
I have a function that calculates an interpolated intermediate point. Calculation based on the start point and end point of the deformed mesh.
I want to deform the original mesh knowing these data
All deformations must be done using the material.
I cant use SplinesConponents and SplineMeshConponents