Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best way to rotate, change offset, and inset position of splinecontroller object
#2
Hi

1. and 2. If you go to CurvyControlle.ShowOffsetSection, and set its return value to true, you will have the offset feature always available. But the result might not be what you want. If that is indeed the case, you can either modify SplineController.ComputeTargetPositionAndRotation, or make your own controller that would inherit from SplineController and override its ComputeTargetPositionAndRotation method. In that method, the controller gets the spline data and returns the position and orientation the controlled object should have. By modifying this code, you can implement your custom behaviour.

3. Modifying ComputeTargetPositionAndRotation would be the solution for this too.

Did this help?
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: best way to rotate, change offset, and inset position of splinecontroller object - by _Aka_ - 01-17-2022, 01:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 8 1,174 04-12-2026, 03:18 PM
Last Post: _Aka_
  Play() does not cause SplineController to produce expected behaviour ConCat 8 1,227 02-08-2026, 11:54 AM
Last Post: _Aka_
  Create Game Object Renaming Options rickgplus 1 904 09-23-2025, 09:33 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,374 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: