Take Camera: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
Line 10: | Line 10: | ||
<translate> | <translate> | ||
==Usage== | ==Usage== <!--T:8--> | ||
<!--T:2--> | <!--T:2--> |
Revision as of 21:17, 20 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