How to make a universe scenery
Hi guys! I'm realizing a simple videogame for a university course. The target is to program some IA, but now I need to create the scenery. The game is about space combat and i need to rapresent the...
View ArticleSpace Ship arcade control system
I would like to implement the same kind of navigation system I saw in this game:http://www.matteley.co.uk/labs/unity3d-spacerunner/But I don't have any idea on how to make it! I thought about make the...
View ArticleOverlay for target information
How can I create an overlay with the information about far away enemies position? I would like to put a red square around each enemy spaceship, so they are visible even when they are too far away to be...
View ArticleVector3 constructor precision
I'm having a problem creating a Vector3 variable, starting with 2 other float variables. This is a snipped of code:float indz = Mathf.Cos(alpha); float indx = Mathf.Sin(alpha); Vector3 ind = new...
View ArticleLook at an object
I need that the object A looks at the object B, so I used the LookAt method. The problem is that when B moves in the y,z plane (relative to A) the object A starts to rotate also on his Z axis, messing...
View ArticleHow to rotate a gun in the right way to anticipate the trajectory of a moving...
I'm trying to create a gun that fires to a moving object, anticipating its future position. To do so, I calculate the horizontal and the vertical angles that the gun has to rotate to anticipate the...
View ArticleBelief Network with Unity
Is there an open source library to use with Unity for creation of belief network? I always used Hugin, but it uses external dlls that I can't load with the base version of Unity or in the Web player,...
View ArticleParticle emitter works intermittently
I make an intense use of particle emitters in my space combat scene, but after coding some IA scripts that uses forces to move the ships, the laser and the engine effects are showed intermittently....
View Article2D Gui Texture under 3D object
Is it possible to render a 3D model in front a Gui Texture?In the following images you can see the enemy status overlays the player spaceship. What I want is exactly the opposite situation, with the...
View ArticleFull body Inverse Kinematic
HI guys! I'm looking for a full body inverse kinematic plugin that I can use for testing purpose. What I'm trying to do is allowing a character to do action like, for example, while standing still and...
View ArticleExecuting a script after another
I need to execute two scripts in a precise order. The first one is the Locomotion script, after I need to override what locomotion did with an IK script. The problem is that both works during the...
View ArticleDifferent child position when parent gameobject selected
Hi all, I'm having an issue with the position of a game object child of another. This is the object hierarchy: ![hierarchy][1] I'm dynamically instantiating the "hero" object and then parenting to him...
View ArticleProgrammatically change editor layout
I'm working on a project with several custom editor windows and I have several different layouts depending on the stage I'm working on. I'd like to implement a simple button or menu item that...
View Article