Unity3d Tutorial: A way to bind a collision zone to a sprite

Source: Internet
Author: User
Tags bind commit

Select the wizard set and click "Open Editor ..."

You can set various parameters, such as: Anchor Point, cutting and filling algorithm. You can also select multiple sprites to edit.

Change the collision zone type to "box trimmed" (box border type), which creates a border around the map. If you want more control over its location, select box Custom and drag the border.

Click Commit.

Each time you make a change, click Commit to redo the composition and vertex data.

Closes the wizard Set edit window, at which point the sprite in the scene is already bound to the collision area. An instance that is created with this wizard and that is about to be created with the wizard binds the collision area.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/extra/

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.