This project is read-only.

Zero gravity

May 3, 2012 at 12:28 PM

How do I set gravity to 0?

I tried setting the gravity on "PhysicsCanvas" but it's not working.

<ph:PhysicsCanvas GravityHorizontal="0" GravityVertical="0" x:Name="cnvGame" Width="1366" Height="768" />

Aug 19, 2012 at 6:49 PM

For me it is not working too. Hope there will be a update in the near future.

Aug 27, 2012 at 3:17 PM

In code you can set it like this

"reference to your PhysicsCanvas".Simulator.Gravity.Y = 0;