normal

normal

randomvector

Details

Kode wheel segment Math/Vector
Style Math
Modifiers  None
Primarily WHEN/DO DO
Pre-made brains that use it Unknown

Math > Vector > normal

Description

This tile is a Math tile. It is used to set the length of a directional vector to 1.

You would need this tile when you only want the direction of the vectors, but not their magnitude (length). The reason for this is that some calculation around a circle (i.e. for a minimap) would be thrown off if the vectors had different lengths from each other. Thanks to SwarmHammer

Example Code

WHEN DO [vectorvar:my vector][=][position][normal]

Modifiers

 

None

Other Uses

 

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: