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

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » General Dicussions » This is really dumb....

This is really dumb....

View previous topic View next topic Go down  Message [Page 1 of 1]

1 This is really dumb.... on Tue Jun 10, 2014 11:24 am

OneKnifeGames


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
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?

View user profile http://oneknifegames.weebly.com/

2 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.

View user profile http://www.youtube.com/user/misterninjaboy

3 Re: This is really dumb.... on Mon Jun 16, 2014 4:42 pm

OneKnifeGames


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Where do I find capsule colliders and import settings?

View user profile http://oneknifegames.weebly.com/

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum