- Home /
Ace of combat game and How to make a turret to hop into
I am a begginer with unity and i have a couple questions because i have no idea how to script. first of all, i was wondering how i could make a plane that hyou could walk up to and start flying around in it. Also, i was wondering how to make a turret that you could walk up to, click a button, hop in it, and shoot up the place! if you could help me, it would be greatly appriciated!
Answer by Jaap Kreijkamp · Sep 28, 2010 at 01:55 AM
Don't expect us to write your scripts ;-) You can find numerous Unity examples scattered around the web. Basically you have a big trigger-collider around turrent/plane that detects player approaching it, OnColliderEnter does set the parent transform of player to plane/turrent and moves player to right spot (now player will move with plane/turrent), starts sit-animation on player and disables walk script and the detect player trigger-collider.
Good luck.
Answer by · Sep 28, 2010 at 02:10 AM
A quick Google search reveals links to Introduction to scripting with Unity and other Unity Tutorials. Searching UnityAnswers will send you to a fantastic list of tutorials: How can I start learning Unity fast?
Try starting there, and then use UnityAnswers to ask specific questions when you get stuck.
Your answer
![](https://koobas.hobune.stream/wayback/20220613074133im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
instantiate works on one but not other object 0 Answers
Project an Angle onto a Plane (Turret Rotation) 2 Answers
How to make a mirror in 3.x? 0 Answers
Dynamicaly Creating A Plane With A JPG Material ... 2 Answers
Plane geometry 0 Answers