Speed up

9 views
Skip to first unread message

GusmanB

unread,
Feb 1, 2011, 1:52:49 AM2/1/11
to Physics2D.Net
Hi.

I have ported the engine to monotouch (iPhone/C#) and It works really
well, but with more than 15 objects it becomes really slow.

The most time consuming function is on the arbitrator, exactly the
Apply() function, is there any way to speed it up??

Thanks.

JonoPorter

unread,
Feb 2, 2011, 12:17:25 PM2/2/11
to Physics2D.Net
If you have polygons with a very large number of vertices then try
running the VertexHelper.Reduce method on it. that should help.
Reply all
Reply to author
Forward
0 new messages