|
Hello, all. I am making a very simple game where you push left and right to move a gameobject back and forth. I currently have this script:
The problem is that the object I attach this to, since it generates the CharacterController, drops due to gravity. Is there a way to stop it from doing this (or disabling gravity altogether in the whole game), or could somebody please include a new script that does the same effect without using a character controller?
(comments are locked)
|
|
you could always just apply it to a game object instead of character controller. edit Just tested this, it works fine but ignors collision
or use move instead of simpleMove (not tested that) Wonderful. I'll try that now. I don't even care about collision, so yay!
Mar 11 '11 at 01:50 AM
Keavon
(comments are locked)
|
|
Or, simply set the gravity to zero (on the fps walker/motor).
(comments are locked)
|
