The xpCollider Tag forms part of the collision engine used in X-Particles.

In order to test for collision between a particle and a scene object, the scene object must have an instance of this tag attached to it.


General tab

Untitled

xpCollider Tag General tab menu settings.

Enable Collisions

If this is unchecked, the object to which the tag is attached will not be checked for collisions with any particles.

xpCollider Tag_v01.mp4

Animation to demonstrate how simple it is to attach an xpCollider Tag and the immediate effect.

Draw Bounds

The collision engine in this version of X-Particles uses adaptive bounds for the collisions.

Instead of testing every polygon in an object to see if a particle is colliding with it, the engine only tests relevant areas of the mesh.

It does this by dividing the mesh into smaller and smaller boxes until the area containing the correct polygon is found.

You can show the adaptive boxes as they are created by enabling this setting.

This can be useful if you have multiple colliders and you aren't sure if particles are colliding with one of them.

xpCollider Tag_Draw Bounds_v01.PNG

Draw Bounds enabled, showing the adaptive bounds on the mesh area for the collisions.