Spline curves and Paths

Anyone know if it possible to add curves or paths in jMonkeyEngine for creating a racetrack for a racing game?

1 Like

I started one, but it’s not complete.

https://github.com/jayfella/pathcreator

2 Likes

It sounds like you want a MotionPath. See TestMotionPath for an example:
jmonkeyengine/TestMotionPath.java at master · jMonkeyEngine/jmonkeyengine · GitHub

2 Likes

Thanks sgold. Will have a look at that.

2 Likes

An actual ‘road’ mesh based on curve points: RoadTessalation/RoadMesh.java at master · JulienGreen/RoadTessalation · GitHub

1 Like

Thanks Murph9. Might be what i am looking for.

1 Like