FIELD OF THE TECHNOLOGY

This application relates to the field of Virtual Reality (VR) technologies, and in particular, to a menu processing method and apparatus in a virtual environment, and a storage medium.

BACKGROUND OF THE DISCLOSURE

A Virtual Reality (VR) technology is using a computer or another intelligent computing device as a core to generate a virtual environment in a specific range of realistic integration of vision, hearing, and touch in combination with a photoelectric sensing technology, to provide experience of senses such as vision, hearing, and touch to users, so that the users can generate immersive experience for a virtual environment. Because it can transcend limitations of physical conditions, and create diversified scenarios to adapt to diversified application demands, it is widely applied in many fields. For example, in a game field, such as a shooting game or a tennis game in combined with VR, immersive scenarios make the game more interesting, and are widely welcomed by users.

SUMMARY

Embodiments of this application provide a menu processing method in a virtual environment, applied to a client. The method includes:

displaying a Virtual Reality (VR) image, the VR image comprising a first virtual control volume, a second virtual control volume, and a virtual carrier in a virtual space, wherein the virtual carrier is attached to the first virtual control volume; obtaining real-time location data of a first controller and a second controller associated with the client;

determining real-time location data of an interactive button on the virtual carrier according to the real-time location data of the first controller;

determining real-time location data of the second virtual control volume in the virtual space according to the real-time location data of the second controller; and

displaying or hiding a menu in accordance with a determination that the second virtual control volume collides with the interactive button based on the real-time location data of the second virtual control volume and the real-time location data of the interactive button.

The embodiments of this application further provide a client comprising one or more processors, memory coupled to the one or more processors and a plurality of programs stored in the memory that, when executed by the one or more processors, cause the client to perform the aforementioned menu processing method in a virtual environment.

The embodiments of this application further provide a non-transitory computer readable storage medium storing a plurality of machine readable instructions in connection with a client having one or more processors. The plurality of machine readable instructions, when executed by the one or more processors, cause the client to perform the aforementioned menu processing method in a virtual environment.

The embodiments of this application further provide a computer-readable storage medium, storing computer-readable instructions that may cause at least one processor to perform the foregoing method.

