User Tools

Site Tools


prpl:ishull

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
prpl:ishull [2018/06/17 14:17] – changed description kajacxprpl:ishull [2018/06/17 14:25] (current) – changed description kajacx
Line 10: Line 10:
 Checks if the given particle is a virtual hull particle. Virtual hull particles are under each hull piece and are used for hit detection, however they are not dicoverable by functions like [[prpl:getparticlesinrange|GetParticlesInRange]]. Checks if the given particle is a virtual hull particle. Virtual hull particles are under each hull piece and are used for hit detection, however they are not dicoverable by functions like [[prpl:getparticlesinrange|GetParticlesInRange]].
  
-The only way to get virtual hull particle ID is to watch the current PID counter (by creating a particle on each frame) and calling this function (IsHull) to check if that particle is a virtual hull particle.+One way to get the virtual hull particle ID is to watch the current PID counter (by creating a particle on each frame) and calling this function (IsHull) to check if that particle is a virtual hull particle.
  
-Emergent is also implemented as a virtual particle.+Emergent is also implemented as a virtual particle (see [[prpl:isemergent|IsEmergent]]).
  
 === Examples === === Examples ===
prpl/ishull.1529259466.txt.gz · Last modified: 2018/06/17 14:17 by kajacx