Rigidbody2d 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 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 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 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 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 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 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 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 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 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 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 do i make a character move up and down with touch button
I am trying to make a 2d flying character where you have to press up and down button to move the character. This is for ios and android.
View ArticleLadder Problem
Hello, I created a script which checks whether you're inside the ladder collider and if you are and hold C it moves you up. The problem is that when I hold C it goes me up but then I fall down all the...
View Article"Half Slabs"
Hi! I'm working on a game that is made out of blocks and I want my players to be able to walk up automatically if they encounter something that is a bit smaller then the blocks they encounter normally....
View ArticleProblem with Unity autopressing W/Up and A/Left
When I run a scene in my project it automatically presses the unity forward and left movement buttons (W/Up Arrow and A/Left Arrow) even though I am not pressing them down. I have nothing on my PC that...
View ArticleHow to find an object directly above another w/out Raycast?
I am trying to make an object that applies a little air blast to anything that gets above it. I am a little stuck here. The air blaster (aka Jet) should be able to find out if something is directly...
View ArticleInput.GetTouch
Hi everyone, I got a simple question how can I make this touch script move in only one direction. For instance I want to move a block by touching my screen and sliding up only, once that happens the...
View Articlepublic not showing up
Anybody has an idea why my public not showing up inspector.My script: using UnityEngine; using System.Collections; using System.Collections.Generic; public class WeaponManager : MonoBehaviour { public...
View ArticleHow to apply a force in a specific direction in 2D ?
Hi ! I'm making a 2D game in which the player can jump on bumpers that will propel him along the up axis of the bumper. My bumper is a mushroom and must be rotated at -90 degrees on the Z axis, then,...
View ArticleTrying to make a bounce platform that tosses the player.
I want to make a bounce platform. I tried to figure it out myself but no luck. I got it to work somewhat, but for some reason it would only work if I entered the trigger from the left side. So after...
View Article