Squirrel Physics Kit vs. Newton

Member
Posts: 196
Joined: 2003.10
Post: #1
Has anyone used this in a released game?

I'm looking for a physics library that I can understand to start developing games again. SPK looks nice.

Others have suggested Newton. But it seems like overkill for simple 2D collision/physics. Opinions?
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #2
Wow, interesting SPK still comes up. My legacy lives on.

From what I've seen of ODE for doing 2D physics, there are a lot of annoyances, but It can be done. I'd assume the same would be true for Newton, possible but annoying.

I've come to view SPK as extremely simplistic. It's really only good for ragdolls and particles. If you just want particles, or objects with bounding spheres it will do that great, but that pretty simple anyway. Ragdolls also work great, but you only get a wireframe with no way to skin a model over it.

I know that aarku was interested in using SPK for his moon patrol game, but he's probably written something of his own by now. Also lightbringer and I (mostly him) were writing a game with it were you had to catch suicidal ragdolls. (I haven't forgotten yet Derek)

I'm am still working on SPK. I've completely redesigned it to focus on rigid bodies, and be more object oriented, but it's definitely still not ready. I intend to work on it this summer a lot, but you know how that goes.

If you want some simple collision detection and response, I'd suggest looking over the source and writing your own or just us SPK as is. It was a huge learning experience for me as I had never really done anything like that, maybe you could benefit similarly. If you want more robust/fancy simulation go for newton/ode, but beware that there are a some quirks when you try and use it for 2D.
Quote this message in a reply
Member
Posts: 144
Joined: 2004.07
Post: #3
SPK is pretty sweet. My only complaint is it doesn't seem to work all that well when you try to compile it on linux (I'll have to investigate this a bit more).

Scott, Exit Strategy's physics setup is still broken (from an updated version of SPK or some code tweaking or something?), I'd really like to get this resolved sometime in the next few months if you got the time. We haven't talked in a while man!
Quote this message in a reply
Member
Posts: 196
Joined: 2003.10
Post: #4
Skorche: fair enough. I'll experiment away here...
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Strange Newton Error Nick 19 8,689 Jul 17, 2005 01:49 AM
Last Post: OneSadCookie
  [ANN] Multithreaded Newton demo OneSadCookie 16 8,085 May 12, 2005 10:52 PM
Last Post: AnotherJake
  Newton weirdness IBethune 3 3,692 Mar 25, 2005 06:24 AM
Last Post: IBethune