This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| prpl:getparticlemotion [2017/03/18 01:47] – Content, notes on XY and YX ordering. GoodMorning | prpl:getparticlemotion [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| === Description === | === Description === | ||
| - | Returns the (pixel) velocity of a given particle, in the form of the movement (excluding teleports) from the previous frame. Returns dY first, probably for easy use with atan2. Note that [[.: | + | Returns the (pixel) velocity of a given particle, in the form of the movement (excluding teleports) from the previous frame. Returns dY first, probably for easy use with [[.:atan2]]. Note that [[.: |
| === Examples === | === Examples === | ||
| < | < | ||