-
_rotation help!
hi, I'm stuck here. I made some sort car-type thing that rotates and junk. I made it so that when the points inside (about 6 MCs that are on corners and sides ect) hit the background MC, it should do stuff. it works, but when I rotate the object, it doesn't do the collisions right (it does the collisions the way it would when it ISNT rotating)
so I need a way to make the _rotation of the _parent MC factor into the hitTest of the MCs inside
any help would be great
this is what it looks like inside in the 6 inside MCs:
if (_parent._parent.wall.hitTest(_x+_parent._x, _y+_parent._y, true)) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|