The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
29 views

“following” Object not Interacting with the game world correctly

So I finally have my object detecting the distance between itself and the player. If within range, the following enemy will chase the player down and touch it. (This will kill the player) However, ...
0
votes
1answer
77 views

handle mousedrag() for two different game objects individually in 2D environment

I am developing a pong game for android mobiles having 2 slider and want to assign movement of individual slider corresponding to its current position I tried some code for the movement of these ...
0
votes
1answer
43 views

Doesn't Unity5 support Expression Bodied Properties?

I wrote the following line in Unity5 using C#: private static float Width => 0.015f; Unity complained about the following issue: Unexpected symbol `=>' in class, struct, or interface member ...
-1
votes
1answer
54 views

how to transform the position of an object

I am trying to transform the position of an object. I have totally 3 Objects and 2 triggers, objects are 1. Left_Wall, 2. Right_Wall, 3. Obstacles. 1st trigger for transform the position of an objects ...
1
vote
1answer
66 views

Unity3D RigidBody adding force diagonally (x,y,0) results in two separate movements instead of one diagonal movement?

The intentions of this function are to utilize the RigidBody component from a "target" object and clear its force while applying a diagonal force in the direction upwards and away from the side they ...
2
votes
1answer
74 views

Unity3D Joystick Buttons Xbox360 & PS3 have Inconsistent Button Inputs?

I've been browsing through Google and researching button inputs in Unity, and I came across this page. When looking at it I noticed that the B button on the Xbox360 controller is set to Button 1, but ...
0
votes
0answers
129 views

MonoDevelop won't start

I'm unable to open the MonoDevelop for script writing. I've done all the things mentioned here: http://answers.unity3d.com/questions/574157/monodevelop-not-opening-in-unity-43.html When I replace the ...
1
vote
1answer
55 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 ...
0
votes
2answers
119 views

How to access Collider in c# script with its tag name

I want to access a Collider in c# script file with its tag name I Tried this if (Collider2D == Physics2D.OverlapPoint(touchPos)) { Some Code to be Performed } I want to access this Collider2D ...
1
vote
3answers
141 views

How do I make my camera follow my cube? [duplicate]

I've recently started to learn some C# scripting in Unity. I've been able to make my PlayerCube move around using Vector3 Transform.translations, but I want my camera to follow my cube while moving ...
0
votes
0answers
127 views

Errors Generating A Plane Mesh Using A Script In Unity

In unity I have a script which is attached to a game object with a mesh filter. The purpose of the script is to generate a flat plane of 100x100 vertices. The code for the script compiles in ...
1
vote
3answers
384 views

Learning To Use C# In Both VisualStudio And Unity's Monodevelop Frameworks

I apologize if this has been asked and answered, but I can't find it. I know the framework is different in MonoDevelop and Visual Studio 2010 Express. For instance, if I want to use Write.Line, I ...