Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can HitTestObject can trigger around the Object and not the rectangle of selection of the object ?

New Here ,
Sep 16, 2014 Sep 16, 2014

Hi !

I am doing a little mini-game but i have a problem with HitTestObject and his hitbox

Look at those images :

imgbug.png

Here HitTestOject == 1 but it should be i want HitTestOject to react like this :

imgnobug.png

This is weird because for me the wall is well cropped, because if i select a space near the rectangle it doesn't trigger it.

Thanks !

TOPICS
ActionScript
307
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 16, 2014 Sep 16, 2014
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines