Skip to content

Orb Movement Blocks

SittingFox edited this page Feb 19, 2015 · 7 revisions

Orb Movement Blocks

Movement of the orb is controlled here, from the orb's speed to whether or not the orb should orbit around the player.

Set Orb Speed

Set Orb Speed block, stop

orb.setVelocity( 0 );

Set Orb Speed block, slow

orb.setVelocity( 5 );

Set Orb Speed block, medium

orb.setVelocity( 15 );

Set Orb Speed block, fast

orb.setVelocity( 50 );

Orbit Player

Orbit Player block

Orbit Player block, filled in

orb.orbitPlayer( distance, time );

Orbit Creator

Break Orbit

Lock Orb to Player Rotation

Unlock Orb to Player Rotation

Turn Orb

Set Orb Rotation

Look At

Clone this wiki locally