SmilyOrg / quickb2

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

Weird collision behavior #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Got this weird qb2ContactEvent results:

case #1 correct
added a tdSmartBody descendant to world in demo constructor
propelled it against another_body,
event.otherObject was another_body

case #2 weird
added a tdSmartBody descendant to world on keypress
propelled it against another_body,
event.otherObject was world
event.otherShape was properly a sshape within another_body

is it correct and i'm missing something?

Original issue reported on code.google.com by *...@forever-entertainment.com on 25 May 2011 at 8:08

GoogleCodeExporter commented 9 years ago
Hmm... the "otherObject" property is something that I might get rid of, because 
in many situations it's not well-defined what "otherObject" should be.

These sound like bugs though, so I'll do some tests and see if I can reproduce.

Whenever possible, if you can provide complete code examples that I can 
copy/paste (or even .zip files with the project and everything included), then 
I can debug the problems much faster.

Thank you for your feedback so far.

Original comment by doug...@gmail.com on 26 May 2011 at 2:10