Take Camera/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 12: | Line 12: | ||
{{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. | {{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. | ||
==Syntax== | |||
<code>(in reference to the agent itself) take camera</code> | <code>(in reference to the agent itself) take camera</code> | ||
Revision as of 19:07, 10 August 2023
Enables perspective of over-agent’s-shoulder view; i.e., the camera follows the agent around.
take camera
is a code block part of the agents drawer.
Usage
take camera
changes the camera perspective to be from the point of view of the agent executing the code.
take camera
can be useful for implementing interactive games from the first-person perspective.
Syntax
(in reference to the agent itself) take camera