Author Topic: Coliision bug when velocity is high?  (Read 804 times)

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Coliision bug when velocity is high?
« on: Sat, Jun 2, 2012 »
Hi,

Some of enemies in my game shoot bullets that moves the player (like in small amounts) and when player is next to a wall and gets hit by such bullets, sometimes player goes into the wall! Is there anyway to prevent it?





-tnx.
« Last Edit: Sat, Jun 2, 2012 by test84 »
blog, twitter, Check out my award winning game, Rot Gut:

wg/funstorm

  • Global Moderator
  • Key Contributor
  • *****
  • Posts: 596
  • Karma: +0/-0
    • View Profile
    • Funstorm
Re: Coliision bug when velocity is high?
« Reply #1 on: Sat, Jun 2, 2012 »
WOW! This is just looking better and better dude!

Uhm, I assume you've tried colliding the player with the map after colliding him with the bullets? Wouldn't that push him back out or why doesn't it work?

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Re: Coliision bug when velocity is high?
« Reply #2 on: Sat, Jun 2, 2012 »
Wow thanks man! I think it's solved it!

I thinking putting your name under Special Thanks in credits of the game is well justified ;)
blog, twitter, Check out my award winning game, Rot Gut: