- Home /
Air Plane Control Script
Hi, I'm just trying to make some simple script to make an Air Plane go to heading (or relative angle from it's position) and altitude, it's doesn't need to use some physics just rotating y axis with some banking (z axis) animation and rotating z axis with some pitching (x axis) animation. But I'm really lost in this situation, can you please give me some sample script or workaround?
It would be nice if I can solve this function
// relative angle from present heading
// altitude absolute from y = 0
// this function will control transform of it self
void FlyTo(float angle, float altitude)
{
//
}
Unity standard assets, from the asset store, has a folder for controllers. I believe they also have one for an aircraft controller. You can use that as a sample script if youd like.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
Flip over an object (smooth transition) 3 Answers