Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Share
Go down
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 64
Points : 1883
Rep : 3
Join date : 2013-12-21
Age : 15
Location : USA
View user profilehttp://oneknifegames.weebly.com/

This is really dumb....

on Tue Jun 10, 2014 11:24 am
So, I've been working on my game for sometime now, but the thing is, I don't know how to keep my player from falling through the floor when the player is on a higher elevation than the terrain. I use planes for these types of heights but they are really bad with textures. So, I don't know what to do, if there is a script out there that stops the player from falling that could really help. So in summary, how do I keep my player from falling down on a higher elevation than the terrain?
avatar
Admin
Admin
Posts : 608
Points : 3195
Rep : 406
Join date : 2013-12-11
Age : 21
View user profilehttps://www.youtube.com/user/misterninjaboy

Re: This is really dumb....

on Tue Jun 10, 2014 1:29 pm
Make sure the player has a capsule collider. You could also use a box collider for the player, and if the terrain is a 3d model, in the import settings, make sure you check off 'generate colliders. If you are talking about standard unity terrain, you should be fine with it, as long as player is higher then the terrain at start, and the player has a capsule/ box collider attached.
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 64
Points : 1883
Rep : 3
Join date : 2013-12-21
Age : 15
Location : USA
View user profilehttp://oneknifegames.weebly.com/

Re: This is really dumb....

on Mon Jun 16, 2014 4:42 pm
Where do I find capsule colliders and import settings?
Back to top
Permissions in this forum:
You cannot reply to topics in this forum