Skip to main content
gamedev.net
🔒 Locked 🎮 Unity

linked particles

Started by vo1d 1 reply 950+ views
Original Post
vo1d
vo1d
My linked particles demo (17Kb): http://www.gamedev.ru/download/?id=4075 (to download press button) In demo there is a problem: when some box fall on ground or collide other box it bounces unreal. Using Verlet integrator. Springs computed by formula: Vector3 dN(rdPosA - rdPosB); const Real fDist = dN.Norm(); const Real fDelta = (m_fRestLen - fDist) * 0.5; dN *= fDelta; m_pdA->AddPos(dN); m_pdB->SubPos(dN); Any ideas how to fix problem?
Gamble
Gamble
I'm having the same problem, my guess is all particles connected to the collided particle would have to be collided along their constraints. That would take up a lot of cpu time in my engine and I'm wondering if there's a faster way.

I couldn't download the demo, didn't see a button.

Here's it being done right:

http://blog.andre-michelle.com/2006/announcing-new-physics-engine-in-as3/#more-136
Gamble
Gamble
One last bump and a quick demo of the problem in my engine, requires the latest flash player.

http://img47.imageshack.us/my.php?image=physst9.swf

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.