Collision not sensing when my character is on ground.
FatalCrest
Member Posts: 113
Hello all and thanks for those who help me,
So, here is my problem, when my character jumps and lands back on the ground occasionally my character's onGround attribute won't change back to true. How do I know? My Jump Function is based on the onGround attribute true to jump. Anyone have an idea why this is happening?
So, here is my problem, when my character jumps and lands back on the ground occasionally my character's onGround attribute won't change back to true. How do I know? My Jump Function is based on the onGround attribute true to jump. Anyone have an idea why this is happening?
Comments
It started happening again, I need help, I've tried making a rule where when my guy lands, it changes the jumpTrigger back to 0 but, sometimes if I hold down the button to the point where my character lands, it still thinks jumpTrigger = 0
I used it last night, copying the rules, etc. to make my first game that required the ground collide.
Try that; it worked perfectly for me.
I'm assuming your ground is not movable and your main actor is movable. In that case it should work most of the time. To increase collision checks make the ground and the main actor movable. HOWEVER, then you need to figure out a way to make the ground remain locked into one place so as to avoid drift when it gets hit. Ugly solution either way you look at it.
High velocities of objects can also pass through each other due to GameSalad's lack of bullet physics.