Creates a Solid Particle object.
Don't create particles manually, use instead the Solid Particle System internal tools like _addParticle()
particleIndex (integer) is the particle index in the Solid Particle System pool. It's also the particle identifier.
positionIndex (integer) is the starting index of the particle vertices in the SPS "positions" array.
indiceIndex (integer) is the starting index of the particle indices in the SPS "indices" array.
model (ModelShape) is a reference to the model shape on what the particle is designed.
shapeId (integer) is the model shape identifier in the SPS.
idxInShape (integer) is the index of the particle in the current model (ex: the 10th box of addShape(box, 30))
modelBoundingInfo is the reference to the model BoundingInfo used for intersection computations.
legacy support, changed scale to scaling
legacy support, changed quaternion to rotationQuaternion
Returns a boolean. True if the particle intersects another particle or another mesh, else false.
target is the object (solid particle or mesh) what the intersection is computed against.
|target||Mesh or SolidParticle|