Shape Points (Expression) — skript-particle

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

Syntax

[the] points of %shapes%

Description

Returns all the vectors from the center of the shape to the various points particles would be drawn at. If you want the locations of the particles, it's advised use the 'shape locations' expression rather than doing it yourself.

Examples

set {_vectors::*} to points of (circle of radius 10)
teleport player to (player ~ random element of {_vectors::*})

set {_randomVectorInEllipsoid} to random element of points of (solid ellipsoid of radius 10, 5, 2)

View source