- Home /
Player Falling Though Floor After Build With Unity IPhone
Usually when testing my game (Iphone 3rd Person Game) with Unity Remote everything goes fine and I can walk around and play the level. When I build my game as an app my player now just falls through the floor and falls in oblivion.
Anyone know why this is happening?
Also let me know if you need more information.
Thanks.
Answer by Julian-Glenn · Jul 20, 2010 at 10:32 PM
Likely causes: mesh collider not set to convex or character controller not properly fitting the "character" or ground plane not having any collider at all or character already below the ground plane then the scene loads i.e feet through the floor
Hello Unity community.
I'm a newb but already massively loving unity. I'm posting because I'm having a similar problem to the original question:
When I enter play mode in Unity, the character doesn't fall through the floor ever, all characters move on the terrain ok, the game is fine, but when I build the game and double click the .exe to play, then the character immediately falls through the terrain very fast, every time.
$$anonymous$$y terrain collider is on (and not a trigger). $$anonymous$$y character controller has collider in it anyway apparently.
Just to reiterate the game works and acts as expected in the unity play mode, just not when I build the game and run the .exe, then my character just falls right through the terrain, very fast, every time.
@ Julian Bronte Glenn - Things I've tried:
I've enlarged the collider capsule to much larger than the character, made sure the character is well above the terrain, I'm using the default (gray graphics) for character controller so don't have a mesh collider to set to convex on the character.
I'll keep tweaking in an effort to find the cause and if I do I'll post the solution, in the meantime, if anyone in the community knows more remedies to try, or knows what I'm doing wrong I'd really appreciate a pointer.
This worked for me! $$anonymous$$y fall speed and gravity were way to high.
http://answers.unity3d.com/questions/124344/player-falling-too-fast-for-a-collider-to-stop-it.htm
Your answer
Follow this Question
Related Questions
Terrain edit problem 1 Answer
Why does player fall through elevator animation? 4 Answers
It wont stay on the ground!! 2 Answers
Some objects falls through Plane with mesh collider(grenade) 2 Answers