摘要 |
PROBLEM TO BE SOLVED: To provide an image processing method capable of performing a processing to restrict move between objects by a simple method. SOLUTION: Objects with complicated shape and large shape are approximated by the shape to be demarcated by a center position and a radius of, for example, a spherical body and a cylindrical body, etc. In addition, the spherical body and the cylindrical body whose shape are demarcated by the center position are defined as an object of move restriction and their surfaces are defined as motion restriction areas. And load speed is generated from positional relation between a position of a player object and the move restriction areas and is reflected on arithmetic operation of a moving position of the player object. The load speed is a velocity vector to reflect a state in which a load is applied on the player object. Therefore, the larger a load is, the faster the velocity becomes and the direction of the velocity vector is also set in the direction of the load. And the next position of the player object is calculated based on speed of the player object and the load speed. |