3D Character Movement Control realization Scheme

Source: Internet
Author: User

In order to control the 3D characters in the 3D world in the normal movement, steering, there are generally two kinds of situations:

  • 1. Use character animations to control the movement of characters
  • 2. Use a script to control the movement of people, turn

For scenario I:

  1. Animator components tick the Apply Root Motion option
  2. The character animation must have the corresponding displacement
  3. The character needs to hang up a rigidbody component to do the corresponding physical collision detection
  4. People need to hang a collision box, do collision detection range customization

For scenario Two:

  1. Animator components Remove the Apply Root motion option
  2. Character animations have no displacement can be
  3. People don't need to mount Rigidbody components
  4. The character needs to mount a charactor Controller component, to do the corresponding collision detection
  5. Use the script to set the Charactor controller component to control the character movement rotation.

3D Character Movement Control realization Scheme

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.