This project has moved. For the latest updates, please go here.

physicsSimulatorView trouble

Mar 22, 2009 at 3:35 AM
I'm having a bit of trouble getting the physicsSimulatorView to work properly. I tried to copy it out of "demo2" of the simple examples, but can't get everything to show up. Here is what I get:

As you can see I get the console, but nothing on the asteroids themselves. Each one has a body and a geom. Is there something I need to update every frame? Something I need to call?
Mar 22, 2009 at 5:10 AM
I assume that you've "attached" the simulator view to the simulator? (you assign the sim view to some variable not sure which at the moment...) also, have you copied out the various drawing helping code from the samples?
Mar 22, 2009 at 5:34 AM
Ah, I got it figured out, I wasn't updating the physicsSimulatorView based on the player location, I am now, and I have it all working.