# Char Falling Through Ground W/ Specific Code

**URL:** https://forum.kirupa.com/t/char-falling-through-ground-w-specific-code/254335
**Category:** programming
**Created:** [March 11, 2008, 1:07am UTC](https://forum.kirupa.com/t/char-falling-through-ground-w-specific-code/254335 "2008-03-11T01:07:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hrl2k](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hrl2k](https://forum.kirupa.com/u/Hrl2k)
#### Post date: [March 11, 2008, 1:07am UTC](https://forum.kirupa.com/t/char-falling-through-ground-w-specific-code/254335/1 "2008-03-11T01:07:47Z")

</div>

Hello all, I searched the boards and have read a good amount on this topic which seems to come up quite often, so I apologize for yet another one. But im wondering if there is an efficient “fix” to my code rather than a full rewrite. I’m not the greatest coder (i prefer design) but with the help of a couple people and various guides Ive managed to learn a lot quickly.

Im having trouble troubleshooting a platformer game issue thats happening. A friend wrote most of the code for a previous game we did, and hes no longer available, which is fine with me since I want to become more proficient myself. Just kinda stuck at the moment.

I’ll will upload/attach the FLA since its small and stripped down to the bare bones. You’ll see the problem right away when you load up the swf.

I would love to find the best way to alter to the code in order to give me near-flawless hitTesting between the character and the ground.

Very beginner issue I think, thanks in advance for any tips!

[http://www.lindesignz.com/files/work/chartest.fla](http://www.lindesignz.com/files/work/chartest.fla)

(WASD - moves)

-Hrl2k
