Difference between revisions of "Longbow arrow stops in mid-air"

From Worms Knowledge Base

Jump to: navigation, search
(added forum link)
m (:D)
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
  
 
* [http://forum.team17.com/showthread.php?t=35008 a most curious arrow] (Team17 Forum)
 
* [http://forum.team17.com/showthread.php?t=35008 a most curious arrow] (Team17 Forum)
 +
* [http://forum.team17.com/showthread.php?t=42619 i found a bug] (Team17 forum)

Latest revision as of 14:07, 13 December 2010

Very very rarely, the Longbow will stop in mid-air after it has travelled through a thin piece of land. The reason for this is explained by Deadcode below.

"The longbow has very weird mechanics. Its collision mask is a single pixel, but every frame it checks against the arrow mask. So, it can either collide due to its arrow mask, or the pixels in between the gaps.

If it's the pixel mask that collides, the arrow doesn't instantly stop. It waits until the next frame to stop and embed itself. However, if it's the arrow mask that collides, then it instantly stops because it's already at a frame boundary.

I probably could have explained that better, but this picture should help. Notice that occasionally, the green pixels poke out from behind the longbow arrow mask. That is where this weird kind of collision can happen:"

Longbow glitch.png

External links

Personal tools