Vector3.forward returns nowhere, Vector3.back returns everywhere.
I have no idea why or how, the situation isn't that complicated, and the title sums it up perfectly. Vector3.up/down work fine, same with left/right. I'm using a blender model and I heard that tends to...
View ArticleLookAt whilst traversing a sphere
Hi, I have a situation where I have an object that is on a sphere. Imagine the red dot is the object, and the green dot is where the object is facing. ![alt text][1] [1]: /storage/temp/158407-diag1.jpg...
View ArticleTransform.up doesnt give me it´s local up position
When I write this: Debug.DrawLine(firstPos.position, -firstPos.up * 5, Color.red, 1); It doesn´t go to the actual up position from the game object. It goes to the origin´s up position. How do I get the...
View Articlehi guys i have a problem with my player(Roll A Ball Game) on android, my...
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody))] public class ForceFromAccelerometer : MonoBehaviour { // gravity constant public float g=9.8f; void FixedUpdate() { //...
View ArticleHow can i move a game object up and down so it acts like a obstacle for my...
the object is a cube which has to go up and come down acting like a obstacle which requires timing to complete THANKS FOR YOUR HELP!!!!
View ArticleGameObject automatically moves up when upgrade is purchased.
Hello, I have a list of 4 gameobjects. They are all upgrades, so for when I click the first one, the gameobject is destroyed, great, but I want the rest of the three upgrades to automatically move up...
View ArticleHow to access trackpad or DPAD input controls in unity application?
In my project I made an unity android application support for ODG glasses R7. There are two modes for taking input controls in ODG glasses , one is cursor mode and other is selector mode. In selector...
View ArticleHow can i get a object fall and go up random?
I have a game where the enemy needs to go down and up and it needs to be generated randomly. How can i do that ?
View ArticleHow to make object moving forward while looping up and down
Hi, guy! I'm new to Unity. I've created this script to make object looping up and down. How can I move the object to the -x axis. Something like a bird tries to avoid a beam that moves up, down and...
View ArticleChange editor camera's Up
I'm going to work on a topdown 2D game. Since you can't change Unity's 2D plane from XY, Up/Down from this game's perspective is going to be the Z axis. However, the camera in the editor still responds...
View ArticleSetting up animator
Okay, so... I solved my last question and i am about to accept the answer. Anyway, i have some nice animations for my character, but i am having a problem. As i said before, i am a horrible animator,...
View ArticleWhen I Re-Spawn in my game, I can't look up or down. How can fix this?
How can I fix it to let me look up and down? This is a new bug, I used to be able to respawn without any issues. I'm using the FPS controller, and when I re-spawn and go into my settings, y sensitive...
View ArticleHow do i make up and down button script for Mobile in Unity 5.3.2
Im making a 2d game that only moves up and down for Android but cant seem to find a script for simple up and down button movement. i watched tons if tutorials on how to move with mobile but none...
View ArticleRigidbody2d Moving up and Down but not left and right
Hello guys, Fresh unity user here, My RigidBody2D (pong game) is correctly moving up and down, but not left and right. The code seems simple, but i can't understand why it's not moving. I have set the...
View ArticleAbout power-ups...
Okay, so... I've been trying to make a game where you are a comet. It's a platformer that doesn't use jumping. But I seem to be having trouble regarding the programing of power-ups. I need two...
View ArticleUnity Game object with stop move up and down position in meta world Camera
I have used 3d Game Object in my Scene, and i have used third person camera,when i place my 3d game object in particular position, When i move the camera,the object position should be changed and the...
View ArticleHow do I tilt my Spaceship and make it go up and down?
Hello, I want my spaceship to tilt left and right whenever I 'sidestep' with it. But I'm not sure how to make that work :/ I would also like to make my spaceship go straight up and down, when pressing...
View Articlec# help with rotate and rotatearound
Hello Q&A board, I have built a mini-solar system. I have some planets orbiting the sun and cameras watching it. I have hierarchies setup to accommodate child-parent relationships. When I watch the...
View ArticleDifference between Vector.up and transform.up
Basically my question title says everything related to my question. What is the difference between Vector.up and transform.up? If I have asked silly question then forgive me but at present I can't able...
View ArticleWhy isn't my Gui showing up at all?
I am following a tutorial, and the guy has his GUI showing up but mine is not showing up when I start the game. public void OnGui() { if (!connected) { connectionIP = GUILayout.TextField(connectionIP);...
View Article