Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling Velocity of Spline Controller
#2
Quite simple, two ideas come to mind, both assuming you know spline distance between the two objects (GetNearestPointTF or reading controller position):

1.) Check Distance between the two and slightly raise/lower controller's speed to reach close to the wanted distance. Could be too inaccurate for some scenarios.

2.) Like above, check distances, then set the 2nd object's position to match the wanted distance. Let controller's speed fixed at 0.

Both ideas can easily be done with a custom controller and one overriden method (e.g. UserAfterUpdate or any method called each frame).
Reply


Messages In This Thread
RE: Controlling Velocity of Spline Controller - by Jake - 06-07-2017, 07:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 2 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 2 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: