Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wheel Collider to propel along Spline
#4
Hi,

I will start with your last question: no ECS plan for now. I am right now not convinced about the benefits of converting a big codebase such as Curvy to ECS, compared to its cost (time wise). But I might change my mind in the future.

About clamping an object to a spline, what you can do is to put a Spline Controller on an object A with a mesh, and set its speed to 0. Then have another object B with the rigidbody and no mesh. At each frame, set B to A's position, apply the forces on B, let the physics update, measure the distance B moved with, then update A's Spline Controller's position accordingly. Did you get the idea?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Wheel Collider to propel along Spline - by _Aka_ - 01-18-2020, 09:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 Yesterday, 10:08 PM
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: