07-29-2020, 08:14 PM
Hi there,
Please can you help, I'm trying to create a spline between two points but with a certain curvature. This would be at runtime (if that matters).
My example, suppose I have a curved train track piece. I know the start point of the piece, and I know the end point of the piece, and I know the radius or curve of the piece. How then would I "bend" my spline so it connects the start/end points and matches the curve of the track piece?
I don't think I can use Conform Path because the collider is a box collider around the whole piece so it doesn't match the size or curve of the piece.
Thank you for your time
John
Please can you help, I'm trying to create a spline between two points but with a certain curvature. This would be at runtime (if that matters).
My example, suppose I have a curved train track piece. I know the start point of the piece, and I know the end point of the piece, and I know the radius or curve of the piece. How then would I "bend" my spline so it connects the start/end points and matches the curve of the track piece?
I don't think I can use Conform Path because the collider is a box collider around the whole piece so it doesn't match the size or curve of the piece.
Thank you for your time
John