guys, i want to make a menu with a background 2d texture and there would be a logo of my game which should revolve(it is 3d) when i hover the mouse on it. how to make this?? More over can i make a high resolution main menu???
The resolution can be as high as the resolution of the screen being used…
The easiest way to create your background texture is probably with a plane, just create a plane and add the texture, and line it up with the camera.
Now as for the 3D object, just drop it in place in front of the plane, then add a simple script such as:
function Update(){
var hit : RaycastHit;
if(Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition),hit)){
if(hit.name == "Name of the object")
hit.transform.Rotate(Vector3.up * Time.deltaTime);
}
}
(for this example, the object needs a collider to work)