physicsSimulator.Update doesn't do anything

Topics: Developer Forum, User Forum
Oct 8, 2009 at 4:57 AM

Hello.

I've put together a super-simple WPF project that has one simple circle upon which I apply a force.  But nothing ever happens.

During the DispatchTimer callback or CompositeTarget.Render (same results either way) I call physicsSimulator.Update(), but the Position/location of my object is unaffected.

Any ideas what I might be doing wrong?

Thanks.

 

Oct 9, 2009 at 12:56 AM

In case it has something to do with how you're displaying it, how about you do a System.Diagnostics.Debug.WriteLine() to print the coordinates of your circle at every frame. That way you'll know if it's the physics simulator that's misconfigured or something else.