BlocosIA Wiki Editor

3D Robot

Monte robôs 3D articulados, importe peças/modelos 3D (.glb, .obj, .stl), gire cada peça pelo seu ID em 3 eixos (X, Y, Z) e leia sensores 3D (ultrassônico, laser, cor, toque, temperatura e bússola).

Clique em "Abrir o editor de Robôs 3D" para escolher um modelo pronto já com sensores, importar peças 3D ou criar novas peças. Cada peça ganha automaticamente seu ID e 3 eixos de giro (X, Y, Z) e pode ser marcada como sensor!

To use it: in the editor, click "Extensions" (bottom corner) and add "3D Robot".

Stack

build 3D robot [do editor deste ator] at x: ( ) y: ( ) z: ( )

Does an action. Snap it below another block.

Stack

place 3D robot at x: ( ) y: ( ) z: ( ) direction: ( ) °

Does an action. Snap it below another block.

Stack

3D camera follow this robot: [perseguição suave] distance: ( ) %

Does an action. Snap it below another block.

Stack

rotate part [ ▾ ] on axis [X (inclinar / pitch)] by ( ) degrees

Does an action. Snap it below another block.

Stack

set part [ ▾ ] angle on axis [X (inclinar / pitch)] to ( ) degrees

Does an action. Snap it below another block.

Stack

orient part [ ▾ ] on 3 axes → X: ( ) ° Y: ( ) ° Z: ( ) °

Does an action. Snap it below another block.

Stack

smoothly rotate part [ ▾ ] on axis [X (inclinar / pitch)] to ( ) degrees in ( ) s

Does an action. Snap it below another block.

Stack

spin part [ ▾ ] continuously on axis [X (inclinar / pitch)] at ( ) deg/s

Does an action. Snap it below another block.

Stack

stop continuous rotation of [ ▾ ]

Does an action. Snap it below another block.

Stack

reset [ ▾ ] to initial pose

Does an action. Snap it below another block.

Stack

change color of part [ ▾ ] to ( )

Does an action. Snap it below another block.

Stack

part [ ▾ ]: [show]

Does an action. Snap it below another block.

Reporter

angle on axis [X (inclinar / pitch)] of part [ ▾ ] (°)

Gives a number or text. Put it inside a round slot.

Reporter

world [x] coordinate of part [ ▾ ]

Gives a number or text. Put it inside a round slot.

Stack

3D robot motors: left ( ) % right ( ) %

Does an action. Snap it below another block.

Stack

move 3D robot ( ) blocks [a frente]

Does an action. Snap it below another block.

Stack

turn 3D robot ( ) degrees [right]

Does an action. Snap it below another block.

Stack

stop 3D robot motors

Does an action. Snap it below another block.

Stack

3D robot max speed: ( ) blocks/s

Does an action. Snap it below another block.

Stack

drive 3D robot with [setas e WASD]: speed ( ) % turn ( ) %

Does an action. Snap it below another block.

Stack

make 3D robot jump with force ( )

Does an action. Snap it below another block.

Reporter

[x position] of 3D robot

Gives a number or text. Put it inside a round slot.

Hat

when 3D sensor [ ▾ ] detects obstacle closer than ( ) blocks

Starts a script when this happens.

Hat

when 3D touch sensor [ ▾ ] hits something

Starts a script when this happens.

Hat

when 3D sensor [ ▾ ] sees color [black]

Starts a script when this happens.

Reporter

distance measured by 3D sensor [ ▾ ] (blocks)

Gives a number or text. Put it inside a round slot.

Boolean

does 3D sensor [ ▾ ] detect obstacle closer than ( ) blocks?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

block or object seen by 3D sensor [ ▾ ]

Gives a number or text. Put it inside a round slot.

Reporter

color read by 3D sensor [ ▾ ]

Gives a number or text. Put it inside a round slot.

Boolean

is 3D sensor [ ▾ ] seeing color [black] ?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

reflected light on 3D sensor [ ▾ ] (%)

Gives a number or text. Put it inside a round slot.

Boolean

is 3D touch sensor [ ▾ ] pressed?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

temperature on 3D sensor [ ▾ ] (°C)

Gives a number or text. Put it inside a round slot.

Reporter

[bússola (direção global)] on 3D sensor [ ▾ ] (°)

Gives a number or text. Put it inside a round slot.

Stack

show 3D sensor beams: [yes]

Does an action. Snap it below another block.