Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, that's what I meant when I said SpriteKit contains an engine similar to Box 2D. I thought my comment was reasonably clear about SpriteKit not just being the physics engine.

According to my tests it is not Box 2D, it produces significantly different results and only implements a subset of functionality. I've been told by others with more experience that it isn't Box 2D also, but if you have more information I'd like to know for sure.



The SpriteKit physics engine uses Box2D internally. Here is a dump of the SpriteKit framework:

https://ghostbin.com/paste/tm4ko

b2* shows up in there many times.

edit: slow pony


Thanks for that, that's really interesting. It behaved differently in my experiments so I assumed it wasn't the same — but it must just be a different configuration.


If you look at this dump, you can see references to b2World, b2Body etc, https://ghostbin.com/paste/tm4ko




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: