Inaccuracy of the physics engine?

I haven’t tried double pendulum, but you can probably throw one into my physics sandbox quite easily.

http://twolivesleft.com/Codea/Talk/discussion/2125/physics-sandbox

Thanks @spacemonkey i’ll try it out…

When I first posted the program above, the even runs gave the same values and the odd run gave the same values, but the even and odd runs were different from each other. When I run it now, the even and odd runs match each other. I don’t know if it was fixed on purpose or fixed by chance in the latest version of Codea, but it seems to work the same now. So I dont think the new restart function will change anything.

Yeah that’s weird. Don’t know what’s wrong with the code I’ve written it’s giving different results every time. I’ll check it out again.

@Saurabh I just got out my spline project and got rid of the double reset so it now only creates the bodies once and it seems to be fixed…

Thanks guys got it running finally.