Take Camera: Difference between revisions
(→Usage) |
No edit summary |
||
Line 5: | Line 5: | ||
==Usage== | ==Usage== | ||
<p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code. | <p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code. | ||
{{#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. </p> | ||
==Related Blocks== | ==Related Blocks== |
Revision as of 17:31, 1 February 2023
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.