Forum: Poser - OFFICIAL


Subject: Snooker dynamics in Poser

scourge opened this issue on Mar 24, 2004 ยท 91 posts


scourge posted Wed, 24 March 2004 at 5:37 AM

Attached Link: Snooker1.AVI (DivX 5 codec required)

I tried Python scripting a few days ago and when I did I couldn't stop trying it some more. I came up with an ideal gas simulation, with gravity applied to the particles. Then I added friction and the wall and bag coordinates to the script. It works great for a bunch of ball props bouncing off each other.

There's no real collision detection involved, that's why this only works for balls. And currently the balls must have the same mass (and thus be the same size) because the script doesn't yet deal with masses. The balls don't also roll yet, they just slide.

I made the animations by setting two keyframes for the white ball(s) and then running the script, that's it. The scene's current frame and the previous frame are used to calculate the initial movement for the particles.

So, would anyone like to have this (for free) if I made a GUI for it?