1) Cocos2d-x Accelerometer

Source: Internet
Author: User

Cocos2d-x mobile game mobile IOS

An accelerometer is a sensor that can sense the linear acceleration of a device. It is widely used in guidance and control of aviation, navigation, aerospace and weapons. There are many types of linear accelerometer. Currently, three-axis accelerometer is used in mobile devices such as IOS. It can be used to sense the linear acceleration changes in the direction of X, Y, and Z axes on the device. As shown in, the coordinate system of the Three-Axis Accelerometer for iOS and Android devices is the right-hand coordinate system, that is, the device is vertical up, the front is toward the user, the horizontal to the right is the positive direction of the X axis, and the vertical to the positive direction of the Y axis, the positive direction of the Z axis is from the device to the user.

More content please pay attention to the Cocos2d-x series of books "Cocos2d-x practice (Volume I): c ++ development" book exchange discussion site: http://www.cOcoagame.netWelcome to join the cocos2d-x Technology Discussion group:257760386,327403678

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.