roll

roll

roll

Details

Kode wheel segment Movement
Style Action
Modifiers  quickly / slowly / invert / world relative / camera relative / object relative
Primarily WHEN/DO DO
Pre-made brains that use it Unknown

Movement > roll

Description

This tile will roll an object or character in your world (it will rotate to the right from its position socket).

Example Code

WHEN DO [roll][slowly]

Modifiers

quickly: This changes the angle per frame from 30 to 10 degrees per frame. The object will do a full revolve in 1 second.

slowly: This changes the angle per frame to approx 1.688 degrees per frame. The object  will do a full revolve in 6 seconds.

invert: This will make the object rotate to the left.

world relative: This will ignore the up facing vector of the object itself, and will use the world up instead.

camera relative: This will ignore the up facing vector of the object and will use the camera up instead.

object relative: This is the default setting and is only needed to be used if you have used one of the other settings, and wish to convert it back.

Other Uses

The orientation of the up vector is important to know when deciding which of these movements to use. In an object like a cube, it may not be obvious which face is up.

movementdiagram-300x169

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: