World relative directions (sub menu)

(various)

 directions

Details

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

Positioning > World Relative Directions

Description

Normally used on the DO side when determining the facing vectors of an object.
Appears as a folder on the WHEN side. I do not know how they are used in this position. EXPLANATION NEEDED

The tiles use the 4 cardinal compass directions

  • north
  • south
  • east
  • west

Also

  • world up
  • world down

The up and down tiles determines what the world regards is up or down. You can turn an object upside down by setting its up vector to the world down vector for example. You can create an object turned towards a compass direction.

Example Code

WHEN [once] DO [up][=][world down]

WHEN [once] DO [create][door][toward][east]

 

Modifiers

None

Other Uses

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: