Hi, in unreal 5.1 my character moves along a pipe that leans in different directions. Character should be looking toward the pipe and have same rotation as the pipe. I can get forward direction with -FHitResult.ImpactNormal, but how do I get the rest? Character doesn’t know in which direction pipe will lean next. Since splines aren’t an option (since pipe may have more than one branch) I thought of getting static mesh UV, increment to Y and convert it to world location, giving me next movement point location, from which I could create direction vector.
This is how I get UV:
Can anyone tell me how I can convert UV to a world location?
Thank you in advance