Refers to 5-th edition of Unity Engine, released in March 2015, featuring their new Standard Shader. It uses PhysX 3.3 and has many other upgrades over it's predecessor.
0
votes
0answers
5 views
Snap gameObject to grid tile
I'm making a 2D TD game and currently I have made using quill18 tutorials a simple building system. However I'm trying to have it snap on my tiles as I mouse over them.
This is my script applied to ...
0
votes
0answers
4 views
Unity 5 Standard Assets for Linux / Ubuntu
Unity recently has released Unity3D Editor for Linux machines. But in its website there is no support for Linux / Ubuntu. As of Unity 5 standard game assets have been removed from the editor itself ...
0
votes
0answers
12 views
How do I Make an object run along with the the rectangular circle shaped path using iTween in unity 5?
Actually I have to rotate an object using iTween or usnig any other stuff if u know. Its like a betting game which I have to manage at run time. As I have been working on this game and have used ...
0
votes
0answers
9 views
Unity Skin Shader to GLSL
I was hoping that I could get some help converting a Unity Skin Shader to a more common GLSL readable format.
I found a skin shader that looks decent and would like to give it a try:
...
-1
votes
0answers
26 views
How to produce this shadow style in Unity 5?
How to produce this shadow style(marked with red) in Unity?
Any help would be appreciated :)
1
vote
1answer
34 views
Reverse Movie in Unity 5
guys! Is it possible to reverse video or apply a rewind in Unity 5? I searched in the web but could not find the solution.
1
vote
2answers
316 views
Unity crashes when opening a project
Why does this happen?
I'm new to Unity development. I have installed Unity yesterday (2015-09-06). This is the error that I get:
0
votes
0answers
21 views
How many ways are there to animate a 2D sprite in Unity3D?
I know about the following animation methods,
1/ Spreadsheet Animation..
2/ Unity's animation (with individual parts)..
Beside these two, are there any other animation system available?
Is there ...
0
votes
0answers
17 views
Objects with custom shaders cast grayscale shadows when lightmapped
Unity 5 seems to be able to calculate colored shadows from objects mapped with standart shader and legacy shaders.
What should I do to make my custom shader to cast colored shadows as well?
0
votes
1answer
10 views
Add force towards a point in Unity3d?
I have a Vector2 and want to move an object towards it...
(this vector2 is the mouse position when clicked and I made sure I get only one position when its clicked)
My initial thought was to apply
...
6
votes
2answers
751 views
Unity and lots of objects. Can this way of designing levels bring problems?
Ok, question.
I've been fiddling for Unity for a while and now trying to make a cohesive game.
Up until now I've found the quickest way to design levels for me is to create a block of wall/floor to ...
8
votes
2answers
880 views
How to make my 2D character stand normally on slope?
I've got this character in Unity3D (2D Mode)...
in a a slope which looks like this,
But I want the character to stand along the red line..Like below
How can I make it in Unity3d?
I've got this ...
1
vote
1answer
24 views
Why does Unity not detect my camera attached via the inspector?
I want to use camera.ViewportToWorldPoint() to show the bottom center bounds of my screen. So, I created a script and added that component to my object that needs it.
using UnityEngine;
using ...
0
votes
0answers
6 views
How can I give rotation angle to an object running on iTween Unity5?
I have to rotate an object around a circular track which is a rectangular circle so for that I am using iTween and it is running perfect but the object does not change its own rotation just only runs ...
-1
votes
0answers
32 views
How to rotate an object on a rectangular circle shaped track in unity5?
Actually I have 10 objects and these all are automatically run on playing game as its a betting game which is going to play on browser but I don't know that how to rotate that objects on curve on a ...
0
votes
0answers
15 views
How do I save and perform the commands at client side in unity5? [closed]
I have been scripting for a web player game for that server sends few commands to client machine But I don't know how to save and perform the operations as per the commands.
If anyone knows please ...
0
votes
1answer
50 views
Can't move character at all in unity basic platformer guide
so, I followed below tutorial.
https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/creating-a-basic-platformer-game
Going well until 18:50 (video time in tutorial), when the ...
1
vote
1answer
67 views
How can I accurately simulate orbits in Unity?
I would like to create a space simulation with realistic gravity.
This means planets in 3d space which act as central gravity sources and multiple objects which are attracted by those planets gravity ...
0
votes
0answers
16 views
How do I handle or manage commands which are sent by server in unity?
In my game there are 10 objects which are just started running on play as this is a web player game and betting as well and it requires some socket programming.
At run time the commands are sent by ...
-3
votes
0answers
56 views
Orbital gravity in Unity 5 [closed]
It's pretty much in the title: how can I make orbital gravity? I am trying to make a space-themed FPS.
0
votes
2answers
40 views
get back unity default interface
i installed unity recently .and interface of unity looks like that [see the image] in all tutorials i see on the internet.
but this is my one(I'm not in the game tab I'm in the scene tab)it's look ...
4
votes
3answers
167 views
How to clip game objects to a rectangular area
I'm trying to figure out how to do this but am coming up short. I'm making a slot machine in unity 2d and would like to clip the tile prefabs when they leave a given rectangular area.
I can't seem to ...
2
votes
0answers
24 views
Why does interactive cloth not appear in game view in unity5 Pro?
I used interactive cloth fir flags in unity5 Pro version and it appears in scene view but does not appear in game view while playing. What can I do for that please somebody help me out?
-1
votes
1answer
29 views
Simple voxel-block melee removing script
I'm trying to create a voxel based game, now I want my character to remove blocks with a melee weapon, but I'm not sure which way to go.
I mean is it the only way to get the Block with a raycast? I ...
1
vote
2answers
42 views
How can I set up a delay before the rotation happens?
How can I set up a delay before the rotation happens? I tried StartCoroutine, yield WaitForSeconds .. But I failed.
0
votes
2answers
43 views
Stitching terrain tiles made in Blender at runtime
Background
I'm making several individual terrain tiles inside of blender for use within a Unity 3D 5 game. Each tile is square and is made to represent a segment of a world. In game the tiles are ...
0
votes
2answers
30 views
How to use pre-made particle effects in Unity5? [closed]
I downloaded some particle effects from an asset store but I don't know how to use them in my project. I instantiated them but I can't control their effects and duration/time.
1
vote
1answer
42 views
How to Slice the external Spritesheet programmatically by using C# in Unity
I have a sprite sheet like this:
I am using Unity Engine to develope my game. I would like to load this external spritesheet outside and slice it as Grid type programmatically instead of using ...
0
votes
0answers
14 views
Oculus Integration on Unity 5.1.2 not showing Oculus Lenses (like two black boxes) when debugging/editor
I added Oculus Utilities for Unity 5.1.2, created a simple scene, added OVRCharacterController prefab, it works fine like normal fps controller but as far as I know, it should show something like 2 ...
-2
votes
1answer
50 views
How can I make a gameObject “stick” to another gameObject after it has collided with it?
How can I make a gameObject "stick" to another gameObject after it has collided with it? Right now the gameObject just passes through! [C#]
0
votes
1answer
24 views
Unity2D Sprite gone / not visible when flipped using Vector3.x
I have create game object with code
using UnityEngine;
using System.Collections;
public class CharacterBehaviour : MonoBehaviour {
private bool facingRight = true;
private float moveDirection = 0;
...
0
votes
1answer
11 views
I can't import player relative controls in unity
I'm developing a mobile game in Unity 5 but I can't find player relative control asset anywhere.Can you help me with this?
0
votes
0answers
23 views
Google Cardboard Application is not Running on moto G 2nd generation mobile
I am working on the Google cardboard application, here i am using the unity to develop the cardboard app. I have tested the application in moto g 2nd generation here application is not running smooth, ...
0
votes
0answers
34 views
Unity 5 Networking Send Rate: Send Rate is Zero but server movement is still happening
I have a client server scenario, just a player moving about on the client and he moves about on the server using the built in networking provided in Unity 5. I have my client scene running in the ...
1
vote
0answers
23 views
The animation state could not be played because it couldn't be found!
If I try to use animation.Play() or have Play automatically ticked in the inspector on the animtion object, it gives me the follwing error:
The animation state could not be played because it couldn't ...
0
votes
1answer
36 views
Unity5 How to create a floor
This may be a may be a very basic question but I have a 32x32 tile of grass for a 2D platformer I'm making. Is there an easy way to duplicate the tiles and lay them out? or will I have to copy and ...
0
votes
1answer
29 views
(Unity) Drag and detect object below when dropping
I'm studying game development in Unity and I want to create a idle/clicker game like Cow Evolution.
I'm using OnMouseDown, OnMouseDrag and OnMouseUp to move the GameObject around the scene.
Now I ...
1
vote
1answer
21 views
How to revert to MonoDevelop's old “ctrl-tab” behavior? [closed]
I believe MonoDevelop (bundled with Unity3D) has changed its ctrl-tab and ctrl-shift-tab behavior and I would like to get back to the old behavior, as the new way frustrates my workflow.
Ctrl-tab ...
1
vote
2answers
40 views
Proper way to handle Movement/Animation/AI functions of an AI character in Unity3D
My team is currently building a 2D game in Unity and we've run into some workflow/script organization blockades for many of our game's characters.
For example, we're not sure what the standard method ...
0
votes
0answers
9 views
Events Not Staying Attached in Unity 5
I'm successfully attaching a handler to an event, the event is firing, and somewhere in between then the event handler disappears. I don't know why, but I suspect it may have something to do with a ...
-2
votes
1answer
67 views
Unity5 I lost my codes inside .cs file. C# files still exist, but codes gone
Unity 5.1.2f1 (64-bit) version.(windows 8.1) I closed Unity. After a while ago I opened Unity and I had some errors in Console.Then I clicked the error and I realized that I lost my code in some of my ...
1
vote
3answers
105 views
How to build a spaceship with interior in unity?
I've begun to study a unity engine in one purpose: I have a great multi player game idea!
The main essence: In space there are two (or even more) huge spaceships with crew consisted of players (all ...
4
votes
3answers
519 views
Unity 5 disabling a script
I'm using Unity 5 and want to disable a script called Unit based on whether the instance is a client or a server. I have tried using:
GetComponent("Unit").enabled = false;
However I get hit with ...
2
votes
1answer
37 views
Make a plane to display material from both sides
I know there is a setting in Cry Engine, which allows you to be able to read materials of the plane from both sides, so I am wondering if there is such a setting in Unity5.
Thanks in advance
0
votes
2answers
67 views
Player in Spaceship
I want to realize space game on Unity3d engine. There are some huge spaceships in the void. So, I want players flying in space in weightlessness, but when they go inside any spaceship, they will be ...
1
vote
0answers
15 views
How to change colors where two boxcollider2d objects intersect (Unity 5 2D)
I'm creating a 2D game in Unity that relies on combining colors. For instance, if the yellow sprite in in a position, and the player slides a magenta sprite partly over it, the area where the two ...
0
votes
1answer
8 views
Unity3D (2D) - Make sure Item Dragged Is Top Item Visually
I am using Unity 5 and making a 2D game in which many sprites will be stacked on top of each other and can then be moved by dragging. Sometimes when the users goes to drag from a pile, ones that ...
1
vote
3answers
29 views
Objects stick together on Collision
I have a ball which has CircleCollider2D attached to it. It is also rigidbody. When it lands on a platform, it jumps . The platform is static, with Edge Collider attached. It also has a platform ...
0
votes
1answer
30 views
I cant Attach C# Script to my Player? [closed]
Every time I try to attach my C# Script to my Player, it gives me this error message:
"Can't add script component 'Player' because the script class cannot be found. Make sure that there are no ...
0
votes
0answers
34 views
How to create portal effect like valve's game “Portal” in Unity5 [duplicate]
First of all! Please forgive my poor English:(
Since updated my unity4 to 5, i can't get some projection including portal effect work correctly :(. I've searched for tutorials but got nothing :L I ...