SPAM Framework Documentation

Impact Point (point of impact)

A point in the world where an impact happened. It consist of a point in world space and a normal vector, which has different meanings depending on the type of ability

Projectile Ability
Position: Where the projectile hits its target.
Normal: The opposite direction of the projectiles movement vector.

Targeted Ability
Position: The point given to the ability when it was cast.
Normal: always Vector3.forward.

Directional Ability
Position: Center of the area-of-effect.
Normal: Always Vector3.up.

Raycast Ability
Position: The point where the ray hit a valid collider.
Normal: The normal vector of the the point where the ray hit a valid collider.

Backlinks: