- Home /
First Person controller turned into a rocket ship
so in a project i implemented the standard asset 1st person character controller
it worked great. over time i have been building up my little game world and recently i was working on some GUI elements when all of the sudden whenever i play the player would suddenly and randomly go from its current y position to a y position so large it can only be expressed in massive exponentials in a matter of instants.
now the majority of the time it happens when i press space/jump, but it also happens sometimes when i walk into a random spot. now it doesnt always happen when i jump and its never the same spot either
there are no external forces involved the only constant force is default gravity. i did not mod any of the default scripts at the time of its occurrence i was just working on GUIs there are no message sends to the player besides "apply_damage" and his weapons have already been prevented from causing interactions.
any ideas please!? -atm i havent even a faintest clue where to look for the problem, even a thought there would be welcome
Answer by lil_billy · May 09, 2011 at 04:38 PM
so i figured what i did wrong i was modding another script that automatically added a rigidbody to my character at first i didnt realize the implications of all of that
problem solved
Answer by almo · Apr 29, 2011 at 06:50 PM
Are you applying a force to a rigidbody in Update()? Forces should be applied to rigidbodies in FixedUpdate(). No idea if this is related, but getting goofy results from the physics could be because of this.
Your answer
Follow this Question
Related Questions
fps controller problems 1 Answer
Very low fps with simple scene 2 Answers
Car driving backwards with triggers 1 Answer
UFPS:ultimate fps cameraGUI texture wont show in game 0 Answers
Where is the FPSPlayer Script? 0 Answers