I ran into a stability issue with isKinematic a few months ago when I first started using Chipmunk. The issue was that setting:
- Code: Select all
body.isKinematic = false;
...crashes Unity every time I use it. I initially got around the issue by setting the entire object to inactive, which helped at the time. Now I need to figure out what is actually wrong. My understanding is that I should be able to set body.isKinematic to false at any time and freeze it's position until I set isKinematic to true.
I noticed that there were some mentions of this bug in the change log so I've updated to the latest version of Chipmunk. The issue seems to persist though.
Two questions:
1. Is this a known bug?
2. How should I go about 'freezing' the location and rotation of a body?
My end goal is to pause my game without setting the timeScale to zero. Thanks
Ryan