Quantcast
Channel: Latest Questions by Eux86
Browsing all 26 articles
Browse latest View live

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 Article



Space 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 Article

Overlay 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 Article

Vector3 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 Article

Look 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 Article


How 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 Article

Belief 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 Article

Particle 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 Article


Image may be NSFW.
Clik here to view.

2D 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 Article


Full 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 Article

Executing 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 Article

Different 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 Article

Programmatically 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


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 Article

Space 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 Article


Overlay 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 Article

Vector3 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 Article


Look 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 Article

How 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 Article

Belief 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 Article
Browsing all 26 articles
Browse latest View live




Latest Images