Cube follow landscape terrain

markhula
Posts: 34
Joined: Thu Jun 17, 2010 10:11 am

Cube follow landscape terrain

Post by markhula »

Hi All,

I have my player mesh and I have a landscape. Everything is fine when the player walks over the mesh; they follow it's undulations correctly. The problem is they don't 'tilt' to follow the landscape i.e. they always remain 'straight'.
How do I add this?, rolling physic's work i.e. if I push a cube over the landscape it tilt's correctly but the player is controlled with setlinear etc. and doesn't do this. I assumed if I set the player to a rigidbody rather than a dynamic this would work, but it's no difference.
Any help/suggestions appreciated!

Cheers