Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move controller to specific point
#4
You're talking about changing length/distance while animating? Hmm, never tried that, but I bet you'll need to stop, set and restart animation to make it smooth. But in that case I would recommend creating a custom controller for that purpose, it's more straightforward and easier to extend. The key is not to set the controller's position (i.e. transform.position), but controller's relative (TF) or absolute (Distance) position instead.

E.g. add a field for your target TF and override Refresh() to animate Speed based on a tweening, then let the controller do it's usual work.
Reply


Messages In This Thread
Move controller to specific point - by drag_c - 02-21-2016, 05:58 PM
RE: Move controller to specific point - by Jake - 02-23-2016, 07:22 PM
RE: Move controller to specific point - by maharg - 03-03-2016, 01:43 AM
RE: Move controller to specific point - by Jake - 03-07-2016, 08:20 AM
RE: Move controller to specific point - by maharg - 03-09-2016, 03:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 556 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,453 04-16-2025, 02:19 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 3,204 02-04-2025, 09:31 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,628 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: