Longbow arrow stops in mid-air

From Worms Knowledge Base

Revision as of 12:22, 23 November 2007 by Melon (Talk | contribs) (New page: {{ParentArticle|Tricks and glitches (Second generation)}} Very very rarely, the longbow will stop in mid-air after it has travelled through a thin piece of land. The reason for this i...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Personal tools