InCone

The InCone condition lets you check if entities are in a cone.

Argument
Description
Default Value

angle

The angle, in degrees, of the cone.

0

direction

The direction vector of the cone. Uses the Vector serializer.

~0 0 1 (forward)

A cone diagram

In the diagram above, the angle argument is the same thing as θ\theta.

This example creates an RPG_7 back blast effect in Shoot.Mechanics:

Last updated