Normal Vector of Shape (Expression) — skript-particle

Addon: skript-particle · Category: Expression · Since: 1.0.0

Syntax

[the] normal [vector] of %shapes%

Description

Returns the normal vector of a shape. This, by default, is the vector (0, 1, 0) which points directly up.If the shape is rotated, this will be the vector that is pointing up after the rotation. Treat it as what the shape thinks is "up". Changing this will rotate the shape accordingly. Resetting or deleting it will set it back to the default orientation.

Examples

set {_shape}'s normal vector to vector(1, 0, 0)
set {_v} to {_shape}'s normal
reset {_shape}'s normal vector

View source