Operator: Vector Raycast | |
---|---|
Mod | Psi |
Type | Operator |
Group | Tutorial 4 |
Return type | Vector |
Complexity | 1 |
Parameters | |
Position | Vector |
Ray | Vector |
Max (optional) | Number |
Technical details | |
Registry name | operatorVectorRaycast |
Operator: Vector Raycast is a Vector Spell Piece added by Psi. It is used to extend a spell from a focal point in a given direction until it collides with a block. The maximum range it functions at is 32 blocks away from the focal point. It is unlocked in the lesson "Tutorial 4."
Parameter[]
- Position: Requires a vector. Defines the focal point from which the spell is going to be fired from.
- Ray: Requires a vector. Defines the direction in which the spell will be travelling.
- Max: Optional. Requires a number. Sets a lower maximum range for the Ray.