3Ducttapes(); Yvo von Berg | CG Toolsmith blog | C++, Python

Tycoon C++ UE4 direction update

Another 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


  1. Rotate each point around the forward axis of the track piece (This is the ‘direction’ input).

  2. Then rotate each point around the Y axis (the actual bend operation).

  3. 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.