Scripting API

Scripting API

ParticleHit

Struct in Abyss.Core, from Abyss.Core.

What a provider of particle colliders says a particle met first along its move; see RegisterColliders.

public struct ParticleHit

Fields

Fraction

public float Fraction

How far along the move it met it, from 0, where it was, to 1, where it went.

Point

public Vector3 Point

Where its middle was as it met it, in the world.

Normal

public Vector3 Normal

The way the surface faces there, of length one.

Met

public uint Met

1 where it met something, 0 where it met nothing, and the rest says nothing.

Entity

public ulong Entity

The entity it met; 0 for none known.