Unity Community |

what I need is to have the player shoot a rocket at a target using a movable cross-hair cursor. (think "Missile Command") But the rocket has to follow the curve of the planet for a short distance (to the edge of the visible horizon) using the left mouse button(rapid fire if held down). How much would you charge for this script?
the large saucers (bad guys) are sucking the "energy" from the planet (and don't move)
To make the player ship follow the planet surface I'm using a script that i got from this post:
http://forum.unity3d.com/viewtopic.p...planet&start=0
Code:
using UnityEngine; using System.Collections; public float rotationSpeed = 120.0f; public float translationSpeed = 10.0f; public float height = 2.0f; //height from ground level //consider scale applied to planet transform (assuming uniform, just pick one) centre = planet.transform; //starting position at north pole } //translate based on input //snap position to radius + height (could also use raycasts) //calculate planet surface normal //GameObject's heading //align with surface normal //apply heading rotation } }