Quantcast
Channel: Questions in topic: "up"
Browsing all 104 articles
Browse latest View live

Up and Down Cubes Shaking Issue.

Ok so i use the code below for my cubes to go up and down in the Y axis. I just want that simple thing. Up and Down so that my player (First Person Controller) can go up and jump to the next. The only...

View Article



GUI Repeatbutton up?

Hello, how can I see when my Repeatbutton is not pressed anymore? Thanks, Andreas.

View Article

Why does my player want to fly?

when I place down my player controller I have to turn off jump and place him halfway in the ground or he skyrockets upward. Does anyone know how to fix this?! I looked through the terrain and character...

View Article

Get Button and Get Button Up conflict.

Ok, so I don't know what is going wrong here. The code is pretty basic, but I just don't know why it doesn't pick up on the "Up" part. Any ideas? function Update() { //Check if space is pressed....

View Article

Problems with Dot Product, hiding Minecraft like blocks, and Directions

Ok, so I've been fiddling with this on and off for a week...and I need help. I'm doing an exercise of building a MineCraft world (no, I'm not making a MineCraft clone). So I read that, to keep the...

View Article


OnMouseDown() Doesn't work

Hello, I usually never have problems with this, but somehow I can't get the OnMouseDown() to work. This is my code: using UnityEngine; using System.Collections; public class Menu : MonoBehaviour { //...

View Article

How to pick a weapon of the ground

**im making a kinda thriller action game and you start in a camp i want to be able to pick a weapon of the ground and be able to switch from a flash light to the gun please help**

View Article

I want my snake to move continuosly if i press...up it should move up until i...

using UnityEngine; using System.Collections; public class Snake : MonoBehaviour { private Transform myTransform; public int SnakeSpeed = 10; GameObject Snakei; // Use this for initialization void Start...

View Article


How to avoid camera going upwards when looking up

I have made a simple scene and added this simple script to camera (it's for looking around and walking forward for now, I don't like using pre-made code): #pragma strict var mouse_x : float; var...

View Article


My gameobject moves up wrong

I made a gameobject, and when you click on that gameobject it moves a bit up. and when you then click on it again ti moves a bit up again. And so on. But what it does it when it moves, it just go...

View Article

GUI begin vertical, to go Up

Hi. ATM beginVertical adds new buttons/stuff from up-down, is there anyway to add them down-up? Also, is there any way to lock a button/stuff, so it wont get affected by automatic layout? Thanks.

View Article

Bullet shoots up instead of forward?

Hello, I have this script attached to my gun model : #pragma strict var bulletPrefab : Transform; var player : GameObject; var force : float = 2000; var shootForce : float = 1000; function Update () {...

View Article

Making FPS Controller move directly upwards

Hello, Similar to what you would do when you climb a ladder, I'm trying to move the FPS controller with Vector3.up not really sure if I can achieve what I want using this: #pragma strict var...

View Article


Move up and down one arm

Hi guys, How can i do for move an arm up and down? (look at the picture for understand) I would like that if i press a key it moves up increasing speed, and if press another key it moves down...

View Article

GUI text disapearing randomly.

I have serched this forum but couldnt find an anaswer eloaded my unity game an my GUI text dose not display on screen and my guitexture boarder apears ontop of my gui icons. when i delete my guibar i...

View Article


How 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 Article

Ladder 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 Article

Problem 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 Article

How 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 Article
Browsing all 104 articles
Browse latest View live




Latest Images