Collision in the Air?!? There's NOTHING!
Posted: Thu Jun 19, 2008 5:46 pm
How can this be? The actor collide an Actor which it doesn't collide!!
Game Editor discussion board
http://game-editor.com/forum/
DST wrote:1st, the arial font is missing.
DST wrote:I removed canjump from draw actor, and moved reg_collision away, and it works fine. i can jump around the screen.
DST wrote:y don't u just use my demo? Its free.
there's nothing wrong with using what others have made. Why reinvent the wheel?
I noticed what u were doing with the collide.y+height...i've tried that before. It couldn't make it work.
In essence, you are trying to recreate the physical response/collision, but adding your own events instead of the normal ones. There are two problems that i see:
1. you're accessing the xy after the draw, instead of before it, as the built-in collision would. There is no way for us to access the player struct that we would need there. Basically, only makslane can access that.
2. You're using a physical response anyway, so the same problems will occur.
Seriously, this is why i made that platform file. It might be complex, but so is what ur doing.
But do whatever makes you happy :D:D
feral wrote:you are colliding with the Act_bgColor tiles