At 7/18/09 11:03 AM, CHINESEMANZOMG wrote:
At 7/18/09 10:59 AM, Archon68 wrote:
Thanks guys... hitTests are messed up IMO.No, you just don't know how to use them.
No, I know how to use them... and I agree with him. It's backwards.
It is more intuitive to check if the player is hitting the ground, not if the ground is hitting the player, so for someone new to programming, that's what they're going to check. If the player is hitting the ground.
In real life, you'd say "Am I standing on the ground?" not "Is the ground keeping me from falling through it"
Blah.. blah.. newton's law, equal/opposite reaction, they're hitting each other I know... but from a basic view, it's more natural to check if the player is hitting the ground.