Information processing apparatus, information processing method, and program for placing an agent in a virtual space
In accordance with an aspect of the present invention, an information processing apparatus includes an interface that transmits or receives data to or from an input apparatus that inputs user position information indicating a position of a user, and a processor that calculates an evaluation value for an evaluation target position based on the user position information, determines a position in a virtual space or a real space where an agent supporting the user is placed based on the evaluation value, and places the agent at the determined position in the virtual space or real space.
1. An information processing apparatus comprising:
an interface configured to transmit or receive data to or from an input apparatus configured to input user position information indicating a position of a user; and
a processor configured to;
calculate an evaluation value for an evaluation target position based on the user position information, wherein the evaluation value is based on a function maximized at a value of a center between an angle of an end of a central visual field of the user and an angle of an end of a visual field of the user,
determine a position in a virtual space or a real space where an agent supporting the user is placed, based on the evaluation value, and
place the agent at the determined position in the virtual space or the real space.
2. The information processing apparatus according to claim 1 , wherein the evaluation value is based on a distance between the position of the user and the evaluation target position.
3. The information processing apparatus according to claim 2 , wherein the evaluation value is based on a function maximized at a center value between an upper limit and a lower limit of the distance.
4. The information processing apparatus according to claim 1 , wherein
the input apparatus inputs posture information indicating a posture of the user,
the processor calculates a vector indicating a line of sight of the user based on the posture information, and
the evaluation value is based on an angle formed by a vector connecting the position of the user to the evaluation target position and the vector indicating the line of sight of the user.
5. The information processing apparatus according to claim 1 , wherein the evaluation value is based on the number of objects at a predetermined distance from the evaluation target position.
6. An information processing method executed by a processor, the information processing method comprising:
acquiring user position information indicating a position of a user;
calculating an evaluation value for an evaluation target position based on the user position information, wherein the evaluation value is based on a function maximized at a value of a center between an angle of an end of a central visual field of the user and an angle of an end of a visual field of the user;
determining a position in a virtual space or a real space where an agent supporting the user is placed based on the evaluation value; and
placing the agent at the determined position in the virtual space or the real space.
7. A non-transitory computer-readable medium storing program instructions that cause a computer to perform operations comprising:
acquiring user position information indicating a position of a user;
calculating an evaluation value for an evaluation target position based on the user position information, wherein the evaluation value is based on a function maximized at a value of a center between an angle of an end of a central visual field of the user and an angle of an end of a visual field of the user;
determining a position in a virtual space or a real space where an agent supporting the user is placed based on the evaluation value; and
placing the agent at the determined position in the virtual space or the real space.