Player turns but won't move forward
Hi there. I just started with Unity today, and I started by watching all the tutorials. Now I'm following a little starting project guide I found (really basic). But I already have a problem with the...
View ArticleFollow script problem
I've got code: 27 var controller = GetComponent(); 28 var forward = transform.TransformDirection(Vector3.forward); 29 controller.SimpleMove(forward * movementSpeed); 30 transform.LookAt(target); and...
View ArticleClick to Move with Character Controller
Hi Everyone, I'm trying to move from a rigidbody system to using a character controller because I was having major physics issues with it. I've been playing around for days and trying to find an...
View ArticleProblem with enemy moving onto player (Lerpz tutorial)
I'm working on this - https://www.assetstore.unity3d.com/#/content/5087 When player is close to enemy it should start moving. But it's not. I think the problem in simplemove. Because for one frame it...
View ArticleOdd touch input problem
As the title says, I'm having an odd reaction when I touch the movement buttons in my game. When I call the movement function with keyboard input, it creates a new Vector3 with the value 1,0,0. When I...
View ArticleNPC will walk through... EVERYTHING to get to player
Have got a sneaking suspicion I know the answer to this, but thought I'd post the question to confirm / find another way: I have an NPC with an AI script attached which directs him to the player. There...
View ArticleCant make controller.SimpleMove move my char
Hello I try to use coroutine to move my character during 2 seconds every 2.5 seconds, the walk animation works but the character wont move What I'm doing wrong ? @script...
View ArticleCharacter Motor: standard vs. custom ?
Hey everyone, I'm developing just for fun a "2D pixel runner". Though I had everything clear, one serious problem appeared: [Earlier I asked here][1] how to correctly implement the player movement...
View ArticleProblem with CharacterController.SimpleMove
I'm having trouble using CharacterConroller.SimpleMove to implement a 3rd person click-to-move system. I've followed examples in some similar posts in regards to calculating the right direction to pass...
View ArticleMovement on the keyboard and mouse
ello guys I have a problem, I have a script ClickToMove, I would add movement via keyboard, AWSD, but that is on the camera. The character must always move forward toward the camera. PLEASE someone...
View ArticleX rotation locked with character controller
I have a car that won't tilt downwards when going down a hill. The back bumper just rubs along the ground. So basically the x and z are locked. This is the code I use for moving the car: using...
View ArticleRun speed in world-based character controller
I'm making a character controller based on world coordinates, but I can't seem to get the speed to increase when the spacebar is pressed. Here's my code: using UnityEngine; using System.Collections;...
View ArticleCharacterController.SimpleMove() doesn't work
Hello guys, I am working on "click to move" script to my game and everything in script works except line of code with SimpleMove(). Unity writes no error, it just does not move, even it rotates...
View ArticleCharacterController.SimpleMove() doesn't exist?
Hey, i'm trying to just move my character using the keyboard but MonoDevelop doesn't detect SimpleMove or Move, please help, i need this due sunday ` using UnityEngine; using System.Collections; public...
View Articlehow does SimpleMove apply gravity?
Calling all programer gurus!! I am new to programming (started about 7 months) and I am starting to get the hang of it now. I am trying to build my own character controller so I can understand how to...
View ArticleSimpleMove doesn't stop
Been trying to get this working but I'm just not understanding something. I'm trying to move on a series of way points. The idea being when I reach my first way point with simple move I add the next...
View ArticleNPC CharacterController doesn't move or stops randomly
I have a robot (from "3d Platform tutorial"), but it doesn't move or stops randomly when chasing the player. I tried fiddling with the CharacterController parameters, changing capsule collider height,...
View ArticleSimplemove controls without the gravity
Hey all! This has been bothering me and took me a while to find out but I am making an aircraft vehicle and I have made the controls so it speeds up using simplemove. However simplemove adds gravity...
View ArticleSwitching from SimpleMove to Move
Hi there! I have an AI driven character that has been using CharacterController.SimpleMove so far, and all good. But now I need this character to jump. When trying to switch over...
View ArticleGet a NaN error when unpausing a game
When i pause the game using this script http://paste.thedigitalboard.com/index.php/view/17729211 Now when i pause my ai characters stop moving But when i unpause, the characters fall through the ground...
View Article