Hey, i tried understanding awayphysics, but it seems not to be that easy ^^
could someone give me some simple example code for a collision detection between two objects?
If “ObjectA” collides “ObjectB”, trace(“collision”);
would be awesome!
Simple Collision ExampleSoftware: Away3D 4.x |
||
Manuel L., Member
Posted: 13 December 2012 08:19 AM Total Posts: 99 Hey, i tried understanding awayphysics, but it seems not to be that easy ^^ If “ObjectA” collides “ObjectB”, trace(“collision”); would be awesome! |
||
loth, Sr. Member
Posted: 17 December 2012 11:26 PM Total Posts: 236 [ # 1 ] look and https://github.com/away3d/awayphysics-examples-fp11/blob/master/src/CollisionFilterTest.as collsionGround and collsionBox is juste a number to dispatch change or connect collision make some try is not so complex |
||
|