Tycoon C++ UE4 direction update
27 Jan 2019Another tycoon update, this one was quite tricky to figure out for some reason, but I’m finally able to change the bend direction of the tycoon mesh.
Prototyping the concept in Maya
Random tests in Unreal
Breakdown
-
Rotate each point around the forward axis of the track piece (This is the ‘direction’ input).
-
Then rotate each point around the Y axis (the actual bend operation).
-
Apply the inverse rotation at the point again, to align the piece correctly.
Next steps:
- Make the anchor mechanism more stable (Code that calculates the new rotation for each piece).
- Add ‘axis’ control. (Ability to change the bend axis).
- Add sliders to UI.