Box2D Forum Archive
Search Settings
Home › Box2D Ports › WCK

contact event in wck

WCK
B benyamin_pc
Oct 29, 2011 03:48
hi
this code doesn't work

Code:
a.addEventListener(ContactEvent.BEGIN_CONTACT, m);

function m(e:ContactEvent):void
{
   trace("hi !");
}
M mayobutter
Oct 30, 2011 17:42
Did you set reportBeginContact = true on "a"?

Original thread: https://box2d.org/forum/viewtopic.php?t=7775

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About