Search found 3 matches
- Mon May 30, 2011 5:46 pm
- Forum: Support and Development
- Topic: Newton's Cradle sim problem.
- Replies: 5
- Views: 3031
Re: Newton's Cradle sim problem.
I've tried removing the update(dt) to a fixed step function love.update(dt) accStep = accStep + dt; if accStep >= phyStep then accStep = accStep - phyStep world:update(phyStep) end end And to make the spheres "smaller" I just increased the pixelsPerMeter, which *should* have the sam effect...
- Sat May 28, 2011 10:17 am
- Forum: Support and Development
- Topic: Newton's Cradle sim problem.
- Replies: 5
- Views: 3031
Re: Newton's Cradle sim problem.
Thanks for the reply. I'll try updating the code later! ...maybe someone should update the wiki physics tutorial...
- Sat May 28, 2011 9:17 am
- Forum: Support and Development
- Topic: Newton's Cradle sim problem.
- Replies: 5
- Views: 3031
Newton's Cradle sim problem.
Hi there, Inspired by a problem in a 3D engine (in a 3D software package) I want to code the Cradle simulation myself. As these are the first bits of code I'll do in lua/love I'm sure to make mistakes. This is, of course, a purely physics based sim. Problems: - The circle that should initiate the si...