Thread history

Fragment of a discussion from Talk:Robocode/Game Physics
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
No results

But surely both Bullet objects should show the same location even after a hit? ie, the one from setFireBullet and the one from BulletHitBulletEvent? They both represent the same simulated object. They should stay in step with each other.

Skilgannon06:44, 11 February 2013

They both represent states of the same simulated object. Maybe the Bullet instance returned from setFireBullet is updated every tick while the instance returned by BulletHitBulletEvent isn't, but only debugging the Robocode engine to be sure.

MN01:02, 12 February 2013