Get RAPTOR

Moving parts

A moving part is a set of Blocks that Logic moves between a start and an end.

Making a moving part

Select the Blocks inside a model, then and choose Make dynamic → Moving part.

Or use Add → Moving part in the Logic drawer, or Add capability → Moving part in the Inspector. A prop becomes one with Body → Moving.

What cannot move

Stairs, Blocks that cut (Subtract or Intersect), prefab instances and whole models cannot be made dynamic. Select the Blocks inside the model.

Setting the end

Select the moving part to see a ghost at its end position in the 3D view.

SettingDefaultEffect
End position X, Y, Z0, 2, 0 mHow far it moves
End turn X, Y, Z0°How far it turns, in 15° steps
LightingProbe-litProbe-lit lights it as it moves. Baked at rest bakes it where it starts

Set the length of a move with Over on the node.

Moving it from a graph

These nodes are in Objects, under Moving parts. Arrives is in When.

NodeAction
Move toMoves it to start, end, the other end or a marker, Over a number of seconds. Ease is steady, smooth, speeding up or slowing down
Move byMoves it a distance in a direction, once or back and forth
TurnTurns it by a number of degrees around up, forward of or right of
SpinKeeps it turning at a set speed
StopStops it moving and turning, moving only or turning only
Move along pathMoves it along a Marker path once, back and forth or round and round
ArrivesStarts a chain when it arrives at the start, at the end or at either end

They target this object unless you set another. The graph can be on the part or on the button that moves it.

A player standing on a moving part is carried with it. Moving parts do not push players.