Lisichenko / as3isolib

Automatically exported from code.google.com/p/as3isolib
0 stars 0 forks source link

comparing two IsoGroup bounds #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. creating two IsoGroup and detrmine their position (x, y, z)
2. using IsoGroup.isoBounds.intersects function to check if the two are 
coliding.

What is the expected output? What do you see instead?
I excpect to get false when the two IsoGroup are in different position and 
not toucing each other, but the isoBounds "think" the IsoGroup position is 
always the origin point (0, 0, 0).
beacause of that, I get always true from the intersects function.
it doesn't considering the position of the IsoGroup.

What version of the product are you using? On what operating system?
the last version of as3isolib

Please provide any additional information below.
I think the solution is quite simple.
just update the isoBounds properties according the IsoGroup current 
position.

thanks in advance

Original issue reported on code.google.com by carpetsc...@gmail.com on 20 May 2010 at 8:40