Simulating a driving cart

Hi everyone,

I want to simulate and create an animation or a motion study of a cart drving on a road i created (something simple) untill it hits a wall

When i try to use the motor on the cart wheel they move in place, when i add gravity the cart falls through the road.

Could you please help me and tell me how i can create these constraints for the cart to move on?

Thanks,

sharon

SolidworksAssemblies