- Code: Select all
if (yvelocity<4)
{
yvelocity+=.08;
}
when I played the game, it did what I wanted to do at first which was have the player collide against the ground and the reason I knew he collided was because I placed him a few feet off the ground before playing. But once I started walking, I was able to walk right off of the edge of the ground and wasnt falling. its as if the collider just stopped working or something.. not sure. Ive been looking for some good collision tutorials but none with using a region as a collider instead of the actual player. any help would be great