11-18-2024, 04:30 PM
Hi,
Is your project anything like Micro Machines? It looks cool, and I would like to learn more about it.
Regarding your code, there might be different sources for the issue:
With this information, I hope that you will be able to debug your code. If needed feel free to ask for more clarification.
Have a nice day
Is your project anything like Micro Machines? It looks cool, and I would like to learn more about it.
Regarding your code, there might be different sources for the issue:
- I would recommend using Vector3.Project to project vectors instead of manipulating their individual components. You can project your vectors on plane which normal is the spline's orientation, given by CurvySpline.GetOrientationUpFast
- Vector3.Angle returns an unsigned angle; you might want to use Vector3.SignedAngle a signed one.
- Know that the GetTangent and GetOrientationUpFast methods have an optional parameter allowing you to retrieve the tangents either in local space or global space.
With this information, I hope that you will be able to debug your code. If needed feel free to ask for more clarification.
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.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

