This project is read-only.
1
Vote

PhysicsObjects is empty

description

I've been trying to access the BodyObject properties to of PhysicsSprite in a PhysicsCanvas, but the PhysicsObjects Dictionary has no objects in it.

comments

fcbrandon wrote Nov 25, 2012 at 5:36 PM

This is just a minor documentation problem. I waited until PhysicsCanvas.Loaded was fired and then the dictionary was populated. I'm sure it is probably populated before this, but it looked like a safe time to start manipulating the objects.

It may be helpful to update the documentation to explain when the dictionary is actually available. :)

wrote Feb 14, 2013 at 8:13 PM