Take Camera: Difference between revisions
(Marked this version for translation) |
No edit summary |
||
Line 7: | Line 7: | ||
{{#vardefine:take camera|<code>take camera</code>}} | {{#vardefine:take camera|<code>take camera</code>}} | ||
<section begin=name/>'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | <section begin=name/>'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | ||
==Usage== <!--T:8--> | ==Usage== <!--T:8--> | ||
<!--T:2--> | <!--T:2--> | ||
<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. | ||
<!--T:3--> | <!--T:3--> | ||
{{#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> | ||
<!--T:4--> | <!--T:4--> | ||
===Syntax=== | ===Syntax=== | ||
<code>(in reference to the agent itself) take camera</code> | <code>(in reference to the agent itself) take camera</code> | ||
==Related Blocks== <!--T:5--> | ==Related Blocks== <!--T:5--> | ||
==Relevant Video Resources== <!--T:6--> | ==Relevant Video Resources== <!--T:6--> | ||
<!--T:7--> | <!--T:7--> | ||
==Relevant Activities== | ==Relevant Activities== |
Revision as of 20:40, 27 June 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