Vehicle alignment on surface


I’m working on a game similar to Sonic. I’m just started creating a game with JME. Can’t figure out how to align vehicle, or any other mesh, according to road surface
Hope you give some sample code, where collision are used

thanks =D

This works for me. Link
I guess it should work for you.

1 Like

Thanks, very usefull =D