Take Camera: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p> | {{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p> | ||
===Syntax=== | |||
<code>(in reference to the agent itself) take camera</code> | |||
==Related Blocks== | ==Related Blocks== |
Revision as of 17:32, 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.
Syntax
(in reference to the agent itself) take camera