User Tools

Site Tools


prpl:getparticlemotion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prpl:getparticlemotion [2017/03/18 01:47] – Content, notes on XY and YX ordering. GoodMorningprpl: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 [[.:SetParticleMotion]] accepts the arguments with dX first.+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 [[.:SetParticleMotion]] accepts the arguments with dX first.
 === Examples === === Examples ===
 <code> <code>
prpl/getparticlemotion.1489801639.txt.gz · Last modified: 2025/02/14 14:56 (external edit)