Realizing the top of an actor problem

digitalzerodigitalzero Member, BASIC Posts: 639

I'm making a platform game where when the player collides with the "ground" it will set its jump count back to zero.... Now everything works fine and dandy HOWEVER there is a small problem... I have a lot of vertical rectangles that are placed and also a couple of half pyramid objects set too... Kind of like the half pyramid you may see in mario right before you jump to gain the flag... And i need to make sure the character is touching the top of the surface because as of now as long as you're touching the object period you can jump and yes that may work well with maybe a wall to wall jump but i am not necessarily looking for that... Can someone help? And by finding the top of that actor i would also be able to find the bottom of the actor for a "smoosh" effect which will result in an instant death

Comments

Sign In or Register to comment.