Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Numsgil on November 26, 2006, 09:18:17 PM

Title: Levitation Bug
Post by: Numsgil on November 26, 2006, 09:18:17 PM
This shouldn't be happening.  Watch the sim in 2.42.9e run for a while.  You'll see some bots on the left levitate up and then fix themselves.  They aren't doing anything that should make them levitate.
Title: Levitation Bug
Post by: EricL on November 27, 2006, 12:07:16 PM
This was the coolest bug!

Basically, the impulse vector was ony geting zeroed each cycle in UpdatePostion() for unfixed bots, not for fixed bots.  Thus a fixed bot would accumulate gravitational force every cycle until it unfixed itself.  It would get released with a huge downward velocity, bouce off the shape and get levitated.

Fixed in 2.42.9f
Title: Levitation Bug
Post by: Numsgil on November 27, 2006, 03:10:43 PM
Whoo!  You better beleive the bugs I find are awesome!