Camera Look at Player

Type: Assembly Brain
Level: not in gallery
Pages: 1
Description: A camera gizmo is power attached to a logic cube. When the player enters the trigger area of the cube the camera activates and shows the player from above.

Note brain is faulty. The tiles that should show the Player in the logic cube brain are somehow completely blank. The brain still works but the tiles are effectively missing. I have written out the kode as it should be, not as it is actually displayed.

Kode

Logic cube

  1. WHEN [in trigger zone][Player] DO [power on]
  2. WHEN [no loner][in trigger zone][Player] DO [power off]

Camera

  1. WHEN [has power] DO [first person camera][without controls]
  2. …WHEN DO [look at target][player]

Alterations

There is no need for the logic cube. Put its kode in the camera brain. Place the trigger zone of the camera where you would have put the logic cube. Also add [transitional easing][ease between] to the camera kode so you do not get jerky movements with the cameras.

 

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: