Search found 3 matches

by jeremywsmith
Tue Feb 06, 2018 5:43 pm
Forum: General Discussion
Topic: Lots of static bodies
Replies: 3
Views: 649

Lots of static bodies

In a tile-based game with a world of 200x200 there may be up to 1000+ walls; each consuming a small tile. These wall bodys are just static square bodies; however I have found that the performance drops significantly with worlds with walls. Are there any optimisation steps I can take here, other than...
by jeremywsmith
Mon Jan 29, 2018 1:20 am
Forum: General Discussion
Topic: How do you disable rotation on a body?
Replies: 1
Views: 435

Re: How do you disable rotation on a body?

Figured it out, call SetMassType on body.

Thanks,
by jeremywsmith
Mon Jan 29, 2018 12:24 am
Forum: General Discussion
Topic: How do you disable rotation on a body?
Replies: 1
Views: 435

How do you disable rotation on a body?

Hello,

I need to disable rotation on my character physics body. How can I do this?

Thanks,

Jeremy

Go to advanced search