Progress towards next big Clashflash update:
AuthorMessage
>> Flash & ActionScript > ActionScript > Line of sight
Crisis
avatar
Administrator
Level: 99 - Posts: 921
Joined: Dec 8, 2006
these are exactly the problems we just discussed. You can't hittest two shapes on shape border. It will always hittest the bounding boxes drawn around them. The only way you can make use of the true shape in a hittest is to do a hittest with a single point like hitTest(x,y,true) where x and y are the point coordinates and true indicates that it has to do the hittest on the shape, not the bounding box.

What you want to do simply isn't easy to do and will require math.


"The absence of rules is the enemy of art." ~Orson Wells
picture
reaven
avatarposts
Excelling Guardian
Level: 20 - Posts: 312
Joined: Dec 11, 2008
oh.
but i have the major things already the triangle
so i will search some tutorials and stuff to do this cool

Greetz


picture
< Go to page: 1, 2 >
There are a total of 3152 Clashflash.com members who have posted 7266 articles. Our newest registered user is Hooooda7, welcome!
There are currently 13 users online of whom 0 logged in and 13 guest(s).
auto ban