Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

Particles launching at random directions...

When my particle effects are instantiated, they are at the right position, however they are sent out at random directions. This is not a collision error, as I have included the ignore collision line as...

View Article


How do I fix my Normals (I have flipped them and does not work)

Hello all, I'm just starting on developing a game, but I am having a problem with flipping normals in Blender. I have the setting in which I can see the blue lines indicating normals on, and I can see...

View Article


Screenshots Not Working Saving

When I compile my game (on PC), it makes the Screenshot folder but it doesn't save anything in it. Here's the code snippits: var screenshotFolder = "Screenshots"; private var screenshotcount = 0; if...

View Article

Rotation attribution problem

Hello! I'm getting a problem when I do a direct attribution to a rotation: player.avatar.transform.rotation= newRotation; After that, the rotation values appear on the transform of the object...

View Article

Isometric camera with unity native 2d support.

I heard that unity has recently got native support for 2d development. But as far as I searched it seems that it has a fixed camera in typical platformer style. I was thinking more about making a game...

View Article


Photon AddForce to an existing object

Hello Everyone, I am trying to make the player push another player away when you hit him. I tried a lot of different things, just add the force from the attacker to the defender, didn't react at all....

View Article

List of HTTP User-Agent's in Unity for various platforms?

Hello again :) I'm writing here server(java) and client(unity) for my current project, and one of the security tasks is to skip any request that came not from our client. One of the things we check in...

View Article

Difficulty Instancing via UnityScript

Hi guys! Bear with me because I am coming to grips with unity and scripting. I am trying to write a simple script where a plane I've created is going to duplicate if it reaches a certain coordinate on...

View Article


Best way to store and use player classes?

So I am making a game where each level the player has various options for classes. This is like 'Multiplayer Classes' in Call of Duty, although the game is totally different. Anyways, each class has a...

View Article


Which AA solution is faster? Image Based or Editor?

Hello everyone, i wonder that if image based post process effect of anti aliasing is faster than editor based anti aliasing? I don't have pro version of Unity atm and i wonder if anyone would tell me...

View Article

Can i run a new exe in running game as child window?

Can i actually do this using WinAPI? If can, it is possible to set parameter for child window ( title, position, size)? And how do this?

View Article

GUI button open a new GUI window with GUI buttons

Hello, I'm trying to make a Main Menu in unity and I have create a world etc. for the background. The Menu is controlled by a GUI script "MainMenu" in javascript attached to a Empty Object in world....

View Article

Adding Delay to a for loop in C#

I'm creating a spawn system for my game. Problem is that everything spawns at once. I need them to stagger. I've tried using Thread.Sleep (which gives me errors) and a few other methods which have all...

View Article


Some script in differents scene

hello to all, I'm making a game, especially the part where you choose the character you type. But I have a problem, how do I make two scripts communicate on two different scenes? I have 2 separate...

View Article

How To Check If X Rotation Is Between Two Numbers??

I'm making a game where an animation would only play if the player's x rotation is between 2 numbers. Something like this(JavaScript Please): if (Player x rotation is between 0 and 180) { if...

View Article


How to Destory a Gameobject in C# after 3 seconds?

I'm trying to destroy a explosion after three seconds but my method is not working. I make the explosion after I kill the enemy in the EnemyAI script. I find the script attached to the explosion and...

View Article

Moving player in camera direction

First I am a little bit sorry because it is a very classical question but actually I did not find an appropriate answer to my problem which is: I want my player to take the camera direction when moving...

View Article


Terrain Toolkit - License

Hi. I download TerrainToolkitAPIExampleCode. I have question: Can I use this generation terrain for my game (commercial) because I don't find any license of Terrain Toolkit.

View Article

How do I move the camera to another object in the scene on mouse down?

I want to attach a script to my object that when I click on that object, the camera moves to another object. So, currently my main camera is focused on one object but I want that camera to move when I...

View Article

Multiple Transparent Textures On One Mesh

I'm creating a character customization and I want to be able to change the color of different parts of the body using a color picker. I got something that's working where I'm using a mesh renderer with...

View Article
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>