...

View Full Version : AS3: hitTest Help



Skeddels
12-21-2008, 04:01 AM
I'm using this code to detect a collision with the movieclips circle and line, but it doesn't appear to be working.


if(circle.hitTestObject(line)){
// stuff
}Can someone please tell me what's wrong? Thanks in advance =D

gnomeontherun
12-21-2008, 11:39 AM
I don't pretend to know about AS3, all of this crazy OOP, but here is some info that might be useful, do you have all of the imports?

http://www.foundation-flash.com/tutorials/as3hittesting/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum