View Single Post
Old
flats
Guest
 
Status:
Posts: n/a
Default 04-20-2010, 09:57 AM

Quote:
Originally Posted by zackpier View Post
Ok so I'm trying to make just a basic plane flying simulation. I've got all the controls mapped out but i can't seem to keep the plane from flying under the ground. Can someone give me a suggestion on an if/else statement to use? It'd be appreciated.


Zack
There is a "distance above [object]" function you can call for any given object. I'd incoporate that and some sort of inequality (>, <, etc.) in an if statement.
   
Reply With Quote