PDA

View Full Version : snowmobile follow changes elevation


cll9
03-01-2009, 09:20 PM
How do I get on object, like a snowmobile, ride over the elevation changes in the lake/snow scene without having the snowmobile float across the level?

I've tried to have the snowmobile move down when its distance is greater than 1 from the snowground, but it doesn't seem to have any effect.

Any help would be much appreciated.

bsmill04
03-03-2009, 03:56 PM
Have you tried using a variable? Maybe have it on a loop constantly getting the new distance the snowmobile is from the ground? I'm still sort of new to alice but thats all i can come up with.

vazin
03-07-2009, 03:45 PM
Have you tried using a variable? Maybe have it on a loop constantly getting the new distance the snowmobile is from the ground? I'm still sort of new to alice but thats all i can come up with.

There are two great examples of "Collison Detection",

one by Madden - called "collison"
and another by Dr Jim called "Garden Wall"


I have refered them on my Website and you can play around with them on the browser, "http://www.tech4dreams.com". Hope this helps

Cheers