gugus
15-04-2007 14:42:20
hello.
I would like to know how to do different type of terrain for a vehicle(ex:grass , road, ...) and having different reaction of the vehicle.
clutch43
19-04-2007 01:10:01
not sure about ODE, but OgreNewt u can use different material types(pairs)., one for grass, pavement,mud etc to get different reactions from a vehical body (tires to be more precise) This maybe a solution.
Materials aren't finished in OgreOde i think...
I'm not sure but a work around would be to read the desired friction from one image for a given coordinate and apply it in the callback function...
see landscape demo:
bool LandscapeFrameListener::collision(OgreOde::Contact* contact)