Tutorial 03
Tutorial 03
Moving on to physics systems we need to ally multiple physics systems to the game at this point. things like force when you push an object gravity something that pulls down on an object you ground friction things that push against objects causing them to move or causing it to stop moving.
We do this by adding rigid body elements that we've added before previous projects except now to a 2D preset. (Keep in mind we needed to disable gravity on ruby's character otherwise she falls through the earth not to poggers)
Then another term we're not unfamiliar with colliders. I mentioned this in the last blog that we needed to add colliders to the objects but now we need to add them to our character herself so that she can interact with the objects already have their own set of colliders.
Then run into a problem with jittering which the tutorial quickly fixed for us by just sending us this body of text I have no idea what it does but works.
We then move forward to tile map collision this is so we can allow Ruby to walk on certain elements of a tile map but stop her from walking on particular parts of us. for example, we want to add a tile map Collider around water because the tile map includes dirt around the water which we want her to be able to walk on, but we don't want her to be able to walk on the water.
Comments
Post a Comment