JP-7857324-B2 - Information processing program, information processing system, information processing device, and information processing method
Inventors
- 寺尾 圭一郎
- 舟橋 英志
Assignees
- 任天堂株式会社
Dates
- Publication Date
- 20260512
- Application Date
- 20240130
Claims (19)
- An information processing program executed in a computer of an information processing device, wherein the computer A mesh generation means that generates a mesh of a character object based on voxel data relating to the character object within a virtual space, Motion control means for controlling the movement of the character object using first motion data, A voxel data update means updates the voxel data relating to the character object when an event occurs with respect to the character object. The image generation means functions to generate an image of the virtual space, including an image of the mesh of the character object drawn, for output to a display device. When the voxel data is updated, the mesh generation means generates the mesh of the character object based on the updated voxel data. The motion control means is an information processing program that, when the event occurs, controls the movement of the character object using the first motion data while changing the inclination of at least a portion of the character object relative to the virtual space.
- The aforementioned information processing program is If the voxel data is updated, the computer is further configured as a centroid calculation means to calculate the centroid of the portion of the character object that includes at least the portion generated by the voxel data, based on the updated voxel data. The information processing program according to claim 1, wherein the motion control means determines the direction in which to change the tilt of at least a portion of the character object based on the change in the center of gravity before and after the occurrence of the event.
- The information processing program according to claim 2, wherein, when a straight line passing through at least a portion of the character object and parallel to the direction of gravity in the virtual space is used as the reference axis, the motion control means changes the inclination of the character object so that, when the event occurs, the portion of the character object on the side where the center of gravity of the character object after the voxel data update exists approaches the direction of gravity with respect to the reference axis, thereby rotating at least a portion of the character object around a reference position set on the character object.
- The information processing program according to claim 2, wherein, when a straight line passing through at least a portion of the character object and parallel to the direction of gravity in the virtual space is used as the reference axis, the motion control means changes the inclination of the character object so that, when the event occurs, it rotates at least a portion of the character object around a reference position set on the character object so that the center of gravity of the character object after the voxel data update approaches the reference axis.
- The information processing program according to claim 3 , wherein the reference axis is a straight line that passes through a position different from the reference position and is parallel to the direction of gravity in the virtual space.
- The information processing program according to claim 3 , wherein the reference axis is a straight line that passes through the centroid of the character object before the voxel data is updated and is parallel to the direction of gravity in the virtual space.
- The character object has a portion associated with a bone set on the character object, The information processing program according to claim 3 , wherein the motion control means causes the character object to perform an action by moving the bones according to the first motion data.
- The character object has a first part whose shape is defined based on the voxel data, and a second part which is different from the first part and is associated with the bone. The information processing program according to claim 7, wherein the motion control means, when the event occurs, changes the inclination of at least a part of the character object, namely the first part and a part of the second part.
- The information processing program according to claim 7 , wherein the reference position is the position of the joint at the waist of the character object among the joints connecting the bones.
- The first motion data represents the walking motion of the character object, as described in any one of claims 1 to 9, in the information processing program according to claim 1 to 9.
- The motion control means provides an upper limit on the angle at which the character object is tilted, as described in any one of claims 1 to 9 .
- The information processing program according to any one of claims 1 to 9 , wherein the voxel data updating means updates the voxel data to reduce the volume of the character object when the event occurs.
- The information processing program according to any one of claims 1 to 9 , wherein the voxel data updating means updates the voxel data to increase the volume of the character object when the event occurs.
- The motion control means is The movement of the character object is further controlled using second motion data, which is different from the first motion data. The information processing program according to any one of claims 1 to 9, wherein, when the aforementioned event occurs, the tilt of the character object when controlling the movement of the character object using the first motion data and the tilt of the character object when controlling the movement of the character object using the second motion data are set to different values.
- The motion control means, when the event occurs, controls the movement of the character object using the second motion data, thereby controlling the movement of the character object. (The information processing program according to claim 14.)
- The aforementioned character object is an enemy character object, and has a core inside the voxel object portion whose shape is defined based on the voxel data. The aforementioned event is that the enemy character object is attacked, The information processing program according to any one of claims 1 to 9 , wherein the computer further functions as a character elimination means for eliminating the entire enemy character object when the core is under attack.
- A mesh generation means that generates a mesh of a character object based on voxel data relating to the character object within a virtual space, Motion control means for controlling the movement of the character object using first motion data, A voxel data update means updates the voxel data relating to the character object when an event occurs with respect to the character object. The system includes an image generation means for generating an image of the virtual space, including an image of the mesh of the character object drawn, for output to a display device. When the voxel data is updated, the mesh generation means generates the mesh of the character object based on the updated voxel data. The motion control means is an information processing system that, when the event occurs, controls the movement of the character object using the first motion data while changing the inclination of at least a portion of the character object relative to the virtual space.
- A mesh generation means that generates a mesh of a character object based on voxel data relating to the character object within a virtual space, Motion control means for controlling the movement of the character object using first motion data, A voxel data update means updates the voxel data relating to the character object when an event occurs with respect to the character object. The system includes an image generation means for generating an image of the virtual space, including an image of the mesh of the character object drawn, for output to a display device. When the voxel data is updated, the mesh generation means generates the mesh of the character object based on the updated voxel data. The motion control means is an information processing device that, when the event occurs, controls the movement of the character object using the first motion data while changing the inclination of at least a portion of the character object relative to the virtual space.
- An information processing method performed by an information processing system, A mesh generation step in which a mesh of a character object is generated based on voxel data relating to the character object within a virtual space, A motion control step that controls the movement of the character object using first motion data, When an event occurs with respect to the character object, a voxel data update step is performed to update the voxel data relating to the character object. The system includes an image generation step of generating an image of the virtual space, which includes an image of the mesh of the character object drawn, for output to a display device. In the mesh generation step, if the voxel data is updated, the mesh of the character object is generated based on the updated voxel data. In the motion control step, when the event occurs, an information processing method is provided which, using the first motion data, controls the movement of the character object while changing the inclination of at least a portion of the character object relative to the virtual space.
Description
This invention relates to an information processing program, information processing system, information processing device, and information processing method for controlling the behavior of objects generated using voxel data. Conventionally, when a portion of an object placed in a virtual space is fragmented, there is a technique to control the object's movement using different motion data depending on the fragmented state (see, for example, paragraphs 0125-0130 of Patent Document 1). Japanese Patent Publication No. 2010-170505 This diagram shows an example of the main unit with the left and right controllers attached.This diagram shows an example of the left and right controllers being removed from the main unit.A six-view drawing showing an example of the main unit.A six-view drawing showing an example of a left controller.A six-view drawing showing an example of a right controller.Block diagram showing an example of the internal configuration of the main unit.Block diagram showing an example of the internal configuration of the main unit, left controller, and right controller.This diagram shows an example of a terrain object that is a voxel object.Figure 8 shows an example of what the terrain object looks like before and after a portion of it is deleted.Figure 8 shows an example of what the terrain object looks like before and after a portion of it is deleted.A diagram showing an example of the contents of voxel data.A diagram showing an example of property information that indicates the properties of a material.A diagram showing an example of texture information that indicates the texture of a material.A diagram showing an example of a mesh generation method.A diagram showing an example of a game image that includes terrain objects.A diagram showing an example of a primary voxel object and a secondary voxel object.A diagram showing an example of an enemy character.Figure 17 shows an example of the configuration of enemy characters.Figure 17 shows an example of a state where part of the voxel portion of the enemy character has been erased.A diagram showing an example of an enemy character in a tilted position.Figure 17 shows an example of a state where the volume of the voxel portion of the enemy character has been increased.This diagram shows an example of the state of an enemy character before and after a change that tilts the voxel portion.This diagram shows another example of the state of an enemy character before and after a change that tilts the voxel portion.This figure shows an example of the state before and after the change in tilting the voxel portion of the enemy character in a modified version of this embodiment.This diagram shows an example of an enemy character performing walking and attacking actions.This diagram shows an example of various types of data used in information processing within a game system.A flowchart illustrating an example of the game processing flow executed by the game system.Figure 27 shows a subflowchart illustrating an example of the detailed flow of enemy character processing in step S7. [1. Game System Configuration] The following describes a game system according to an example of this embodiment. The example of the game system 1 in this embodiment includes a main unit (information processing device; functioning as the main unit of the game device in this embodiment) 2, a left controller 3, and a right controller 4. The left controller 3 and the right controller 4 are detachable from the main unit 2. In other words, the game system 1 can be used as an integrated device by attaching the left controller 3 and the right controller 4 to the main unit 2. Alternatively, the game system 1 can be used with the main unit 2 and the left controller 3 and right controller 4 as separate units (see Figure 2). The hardware configuration of the game system 1 of this embodiment will be described below, followed by a description of the control of the game system 1 of this embodiment. Figure 1 shows an example of the main unit 2 with the left controller 3 and right controller 4 attached. As shown in Figure 1, the left controller 3 and right controller 4 are each attached to the main unit 2 and integrated together. The main unit 2 is a device that executes various processes (e.g., game processing) in the game system 1. The main unit 2 is equipped with a display 12. The left controller 3 and right controller 4 are devices equipped with operation parts for user input. Figure 2 shows an example of the configuration with the left controller 3 and right controller 4 removed from the main unit 2. As shown in Figures 1 and 2, the left controller 3 and right controller 4 are detachable from the main unit 2. In the following, the left controller 3 and right controller 4 will be collectively referred to as "controllers." Figure 3 is a six-view drawing showing an example of the main unit 2. As shown in Figure 3, the main unit 2 includes a roughly plate-shaped housing 11. In this embodiment, the