An information processing program executed on a computer of an information processing apparatus which is capable of displaying an image on a portable display device which outputs at least attitude data based on an attitude of a body of the portable display device, wherein the information processing program causes the computer to act as: direction determination means (10, S202) for determining, based on the attitude data, whether or not a direction of a predetermined axis set in the portable display device is within a first range in the horizontal direction and whether or not the direction of the predetermined axis is within a second range in the horizontal direction, wherein the first range is set as a range which is within a first angle centered around a reference direction set with respect to the direction of the predetermined axis, and wherein the second range is set as a range within a second angle, larger than the first angle, being formed to both sides of the first range and centered around the reference direction; first object action control means (10, S206, S207) for controlling an action of a first object arranged in a virtual world, the first object corresponding to a body of a player object and moving in the virtual world in accordance with the first object action control means; and second object action control means (10, S203) for controlling an action of a second object arranged in a virtual world, the second object corresponding to a part of the player object arranged at an arrangement position on the body of the player object, said part being directed by the user in a desired direction towards a target in the virtual world in accordance with the second object action control means, wherein the second object action control means (10, S203) causes, when the result of the determination is that the direction of the predetermined axis is within the first range, the second object to rotate with respect to said arrangement position on the first object in accordance with the direction of the predetermined axis; the first object action control means (10, S206, S207) causes, when the result of the determination is that the direction of the predetermined axis is outside the first range and within the second range, the first object to rotate by changing its forward direction so as to approach the direction of the predetermined axis by a predetermined angle and to update its body attitude based on the changed forward direction; and display control means (10, S46, S50) for displaying, on the portable display device, a first image showing the virtual world including at least the first object and the second object. direction determination means (10, S202) for determining, based on the attitude data, whether or not a direction of a predetermined axis set in the portable display device is within a first range in the horizontal direction and whether or not the direction of the predetermined axis is within a second range in the horizontal direction, wherein the first range is set as a range which is within a first angle centered around a reference direction set with respect to the direction of the predetermined axis, and wherein the second range is set as a range within a second angle, larger than the first angle, being formed to both sides of the first range and centered around the reference direction; first object action control means (10, S206, S207) for controlling an action of a first object arranged in a virtual world, the first object corresponding to a body of a player object and moving in the virtual world in accordance with the first object action control means; and second object action control means (10, S203) for controlling an action of a second object arranged in a virtual world, the second object corresponding to a part of the player object arranged at an arrangement position on the body of the player object, said part being directed by the user in a desired direction towards a target in the virtual world in accordance with the second object action control means, wherein the second object action control means (10, S203) causes, when the result of the determination is that the direction of the predetermined axis is within the first range, the second object to rotate with respect to said arrangement position on the first object in accordance with the direction of the predetermined axis; the first object action control means (10, S206, S207) causes, when the result of the determination is that the direction of the predetermined axis is outside the first range and within the second range, the first object to rotate by changing its forward direction so as to approach the direction of the predetermined axis by a predetermined angle and to update its body attitude based on the changed forward direction; and display control means (10, S46, S50) for displaying, on the portable display device, a first image showing the virtual world including at least the first object and the second object.