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
4 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
30 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? [on hold]
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
48 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
54 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
49 views
Orbital gravity in Unity 5 [on hold]
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
37 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 ...
0
votes
0answers
13 views
Web Player build is not playing on web. Why? [closed]
I have been developing a web player game and after completing the build process in build settings I clicked on that build file then I found that the build was not playing on web and was showing some ...
4
votes
3answers
160 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 ...
-5
votes
1answer
36 views
How can I properly implement Lerp in this code so that the it can run smoothly in every device? [closed]
How can I properly implement Lerp in this code?
if (isJumping)
{
actualSpeed -= slowAmount * Time.deltaTime;
transform.position += Vector3.Lerp (0.3f, actualSpeed * Time.deltaTime, 0);
...
1
vote
0answers
23 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 ...
0
votes
1answer
40 views
How do I use threads in unity c#? [closed]
I have been developing a Web Player game in unity using c# but its not running smoother as I wanted.
For that I took Unity5 Pro and then used profiler for optimizing the project but still not getting ...
1
vote
2answers
40 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
41 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? [on hold]
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
13 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
33 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
22 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
35 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
26 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
36 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
66 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
102 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
505 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
35 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 ...
0
votes
0answers
13 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
28 views
I cant Attach C# Script to my Player? [on hold]
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 ...
1
vote
1answer
22 views
Unity 5.x - Editor only constructor/initilization event
I have three scripts:
Level - Represents a Tile Based level.
LevelEditor - Custom Editor for Level.
Tile - A non monobehaviour class for storing tile information.
Level contains an array of Tiles ...
1
vote
1answer
27 views
How to lerp all members of array in Unity 5?
I've an array of gameobjects called cards and I have this code to run when clicking a button
public void mover()
{
for (int x = 0; x < cards.Lengh; x++)
{
cards[x].transform.position = ...
1
vote
1answer
41 views
Unity5 - A Shader to blur far plane edges?
I need some help. In my Unity5 game I'm using two cameras, First camera renders the actual terrain and game objects (wich has a far plane of a 1000 units) and the Second camera renders a 3d skybox of ...
0
votes
1answer
18 views
Can't attach animation to script [Unity 5 - C#]
I'm working on a little game (which is also my first one) and I want to insert a splash screen at the beginning (after the Unity one).
I've finally achieved to add a fade-in and a fade-out transistion ...
0
votes
0answers
20 views
Unity forward render path creating pixel lines between meshes
I have a bit of a problem where my meshes are either unsmooth because I'm using deferred rendering path or they are smooth using forward rendering path but it creates this weird pixel line between the ...
-4
votes
2answers
37 views
I want to now how to set. X to a spot and change it to a cord but. Keep my Y and Z [closed]
Let's say postion was X1 Z34 Y2 I want to move char to X2 no matter what Z or Y are I want to change my x and keep z and y the same and keep momentum
0
votes
1answer
62 views
Best way to manage weapons as GameObject on a script in Unity with C#
I have a player game-object with a script Player. In the Player script I have a public properties weapons.
I want to have to just drag in this properties a script/prefabs. And the Player script must ...
2
votes
0answers
18 views
MoCap data files applied to avatars using Mecanim
I am applying some animations (e.g. running) from this free MoCap package that I got off the Unity Assets Store, and as far as I can see from running the animation previews, they seem fine (i.e. ...
0
votes
1answer
80 views
2D Infinite Runner: how to manage the generation of dynamic terrain? [closed]
I'm creating a infinite runner game with Unity3d, i've been using math to generate the terrain by calculating the size/pos of the terrain and place the new one next to it, and it's working correctly, ...
-1
votes
1answer
56 views
Error SDK facebook and Unity3d 5
I've tried everything anyone has seen this error?
Clicking the invite: I get the message "App Request dialog is not implemented in the Unity editor."
public void InviteFriends()
{
...