# Physics Engine Recommendation

**URL:** <https://forums.kodeco.com/t/physics-engine-recommendation/60044>\
**Category:** Metal by Tutorials\
**Created:** [January 17, 2019, 4:23pm UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044 "2019-01-17T16:23:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjeragh](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mjeragh/32/111838_2.png) [@mjeragh](https://forums.kodeco.com/u/mjeragh)\
**Post date:** [January 17, 2019, 4:23pm UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/1 "2019-01-17T16:23:31Z")

</div>

I’m really enjoying this book, Im at chapter 13 now. I have skimmed ahead and couldn’t find any reference for a physics engine.

What would you recommend and can you share some references.

Thank you in advance  
–MJ

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [January 17, 2019, 5:11pm UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/2 "2019-01-17T17:11:00Z")

</div>

@caroline Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [January 17, 2019, 11:32pm UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/3 "2019-01-17T23:32:24Z")

</div>

@mjeragh - I’m glad you’re enjoying it 😊!

I haven’t seen a Swift / Metal implementation of a physics engine and haven’t done one myself yet.

SceneKit has a built in physics engine, but that’s not really interoperable with the Metal code in the book.

Bullet is C++, and I have no idea how to integrate it with Swift.

I wouldn’t have said this is an easy task.

One of my favourite books “Game Coding Complete” by Mike McShaffrey says about physics engines: _This stuff is devilishly difficult and is probably one of the most challenging areas of game programming_

If you come up with a solution, please let us know 😄!

---

<div class="post-metadata">

**Author:** ![tom01](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/tom01/32/105896_2.png) [@tom01](https://forums.kodeco.com/u/tom01)\
**Post date:** [January 24, 2019, 2:28am UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/4 "2019-01-24T02:28:01Z")

</div>

> [@caroline](#):
>
> Bullet is C++, and I have no idea how to integrate it with Swift.

Objective-C can make use of C++

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [January 24, 2019, 2:45am UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/5 "2019-01-24T02:45:50Z")

</div>

Thank you, @tom01. Yes- if @mjeragh has experience with Objective C and OpenGL, this really old tutorial might help: [https://www.raywenderlich.com/2606-bullet-physics-tutorial-getting-started](https://www.raywenderlich.com/2606-bullet-physics-tutorial-getting-started)

I haven’t had time to go through it myself though

---

<div class="post-metadata">

**Author:** ![lducot2](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/lducot2/32/102075_2.png) [@lducot2](https://forums.kodeco.com/u/lducot2)\
**Post date:** [April 8, 2020, 11:12pm UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/6 "2020-04-08T23:12:07Z")

</div>

This really is the best book ever.

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [April 9, 2020, 12:05am UTC](https://forums.kodeco.com/t/physics-engine-recommendation/60044/7 "2020-04-09T00:05:25Z")

</div>

I’m really happy you’re still enjoying it and finding it useful 😊
