CodePlexProject Hosting for Open Source Software
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" />
For me it is not working too. Hope there will be a update in the near future.
In code you can set it like this
"reference to your PhysicsCanvas".Simulator.Gravity.Y = 0;
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.