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 helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 137 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 507 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 208 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 492 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: