CN-121986314-A - Information processing method, information processing program, and information processing system
Abstract
The first virtual object is moved in parallel based on first data of an optical sensor of a mouse, and is first controlled based on second data of a gesture sensor provided to the mouse. In this case, when the first data and the second data satisfy the first condition, the first control is performed on the object based on the second data, and the parallel movement amount of the first virtual object based on the first data is made smaller than the parallel movement amount when the first condition is not satisfied.
Inventors
- Shojo Takashi
- Shimohatakey Yasuko
Assignees
- 任天堂株式会社
Dates
- Publication Date
- 20260505
- Application Date
- 20231106
Claims (16)
- 1. An information processing method for causing a processor of an information processing apparatus to perform: Acquiring first data based on an output of an optical sensor provided to a mouse; acquiring second data based on an output of a gesture sensor provided to the mouse; Moving the first virtual object in parallel based on the first data; Performing a first control on the first virtual object based on the second data, and When the first data and the second data satisfy a first condition, the first control is performed on the object based on the second data, and a parallel movement amount of the first virtual object based on the first data is made smaller than a parallel movement amount when the first condition is not satisfied.
- 2. The information processing method according to claim 1, wherein, And when the first condition is satisfied, the first virtual object is not moved in parallel.
- 3. The information processing method according to claim 1, wherein, The processor is caused to determine a degree to which the amount of parallel movement of the first virtual object is reduced based on the first data and/or the second data.
- 4. The information processing method according to any one of claims 1 to 3, wherein, The first control is a control to rotate the first virtual object.
- 5. The information processing method according to claim 4, wherein, And associating a movement direction of the first virtual object based on the first data with a rotated posture of the first virtual object.
- 6. The information processing method according to claim 5, wherein, When the first virtual object is rotated by a first angle, the moving direction of the first virtual object based on the first data is rotated by the first angle.
- 7. The information processing method according to claim 5 or 6, wherein, Causing the processor to: Acquiring third data based on the first operation of the mouse, and The posture of the first virtual object is set to a predetermined posture based on the third data.
- 8. The information processing method according to any one of claims 5 to 7, wherein, Causing the processor to: Executing a prescribed game process, and When a game play based on the predetermined game process is started, a screen for guiding an initial posture of the mouse at the start is displayed.
- 9. The information processing method according to claim 8, wherein, Causing the processor to: acquiring fourth data based on a second operation of the mouse, and The game play is initiated based on the fourth data.
- 10. The information processing method according to any one of claims 1 to 9, wherein, Causing the processor to: Acquiring fifth data based on a third operation on the mouse; Acquiring sixth data based on a fourth operation of the mouse, and When the first virtual object and the second virtual object are in a predetermined positional relationship, the second virtual object is set to be in a movable state based on the fifth data, The second virtual object is made to be in an inactive state based on the sixth data, The second virtual object in the movable state is moved and rotated in accordance with the movement and rotation of the first virtual object.
- 11. The information processing method according to any one of claims 1 to 10, wherein, The first condition is a condition indicating that a center of a rotation operation of the mouse is within a prescribed range.
- 12. The information processing method according to claim 11, wherein, The predetermined range is a range included in the bottom surface of the mouse.
- 13. The information processing method according to any one of claims 1 to 10, wherein, The first condition is a condition indicating that a horizontal movement amount of the mouse is small with respect to a rotation amount of the mouse.
- 14. The information processing method according to any one of claims 1 to 13, wherein, Causing the processor to: acquiring seventh data stored in the mouse from the mouse, and The first condition is set based on the seventh data.
- 15. An information processing program that causes a processor of an information processing apparatus to: Acquiring first data based on an output of an optical sensor provided to a mouse; acquiring second data based on an output of a gesture sensor provided to the mouse; Moving the first virtual object in parallel based on the first data; Performing a first control on the first virtual object based on the second data, and When the first data and the second data satisfy a first condition, the first control is performed on the object based on the second data, and a parallel movement amount of the first virtual object based on the first data is made smaller than a parallel movement amount when the first condition is not satisfied.
- 16. An information processing system having a mouse and a processor, wherein the mouse has an optical sensor and a gesture sensor, The mouse performs the following processing: Transmitting first data based on the output of the optical sensor, and Transmitting second data based on the output of the gesture sensor, The processor performs the following processing: moving the first virtual object in parallel based on the acquired first data; first controlling the first virtual object based on the acquired second data, and When the first data and the second data satisfy a first condition, the first control is performed on the object based on the second data, and a parallel movement amount of the first virtual object based on the first data is made smaller than a parallel movement amount when the first condition is not satisfied.
Description
Information processing method, information processing program, and information processing system Technical Field The present disclosure relates to controlling information processing of a virtual object based on data output from a mouse. Background There is a technology for controlling a pointer on a display based on a movement operation or a rotation operation of a mouse (for example, patent literature 1). Prior art literature Patent literature Patent document 1 Japanese patent application laid-open No. 2004-70843 Disclosure of Invention Problems to be solved by the invention In the above-described technique, there is room for improvement in control of the virtual object in accordance with the user's intention. Solution for solving the problem In view of the above, for example, the following configuration examples can be given. (Structure 1) The configuration 1 is an information processing method for causing a processor of an information processing apparatus to execute, and causes the processor to execute the following processing. The method includes the steps of acquiring first data based on an output of an optical sensor provided to a mouse, acquiring second data based on an output of a gesture sensor provided to the mouse, moving a first virtual object in parallel based on the first data, performing first control on the first virtual object based on the second data, and performing first control on the object based on the second data when the first data and the second data satisfy a first condition, and making a parallel movement amount of the first virtual object based on the first data smaller than a parallel movement amount when the first condition is not satisfied. According to the above configuration example, when the first condition is satisfied, the influence of the first data at the time of the first control is reduced. Thus, the first control conforming to the user's intention is easily performed. (Structure 2) In the configuration 2, the first virtual object may not be moved in parallel when the first condition is satisfied in the configuration 1. (Structure 3) In the configuration 3, in the configuration 1, the processor may be configured to determine a degree to which the parallel movement amount of the first virtual object is reduced based on the first data and/or the second data. According to the above configuration example, for example, the operability when the first virtual object is moved in parallel while being rotated can be improved. (Structure 4) In the configuration 4, the first control may be a control to rotate the first virtual object in any one of the configurations 1 to 3. (Structure 5) In the configuration 5, in the configuration 4, the movement direction of the first virtual object based on the first data may be associated with the rotated posture of the first virtual object. According to the above configuration example, intuitive operation can be performed. (Structure 6) In the configuration 6, when the first virtual object is rotated by the first angle in the configuration 5, the movement direction of the first virtual object based on the first data may be rotated by the first angle. According to the above configuration example, by matching the movement direction of the user's hand with the movement direction of the first virtual object, an operation without a sense of incongruity can be performed, for example. (Structure 7) In the configuration 7, in the configuration 5 or 6, the processor may be configured to acquire third data based on the first operation of the mouse, and to set the posture of the first virtual object to a predetermined posture based on the third data. According to the above configuration example, as an example, when the correspondence between the gesture of the mouse and the gesture of the first virtual object is a correspondence that is not intended by the user, the correspondence can be reset. This can improve operability. (Structure 8) In the configuration 8, in any one of the configurations 5 to 7, the processor may be configured to execute a predetermined game process, and when a game play based on the predetermined game process is started, a screen for guiding an initial posture of the mouse at the start may be displayed. According to the above configuration example, by making the user aware of the initial posture of the mouse at the start of the game, it is possible to avoid the occurrence of an uncomfortable feeling in the correspondence relationship between the mouse and the posture of the first virtual object thereafter. (Structure 9) With regard to the configuration 9, in the above-described configuration 8, the processor may be caused to acquire fourth data based on the second operation on the mouse, and the game play may be caused to start based on the fourth data. According to the above configuration example, by enabling the user to trigger the start of the game, it is possible to suppress the generation of an uncomfortable feeling in oper