two Qs about gridshape
Is it possible to have 2 or more spheres in the same window, and if yes, is it possible to track them and get their position and rotation speed?
Yes, and probably yes.
It's not really clear what you mean by tracking. For the spheres to move and rotate you'll need to set their position and rotation, so you can keep track of those yourself. You can also get them from the gridshape object if you need to.
Yeah I figured out the best way was using gj.handle a prepend set and a message...
thank you so much.
what if I want to include some physics with gridshape objects?
like two spheres orbiting... gravity and so on?
There is no standard physics engine in Max afaik, unless you count [jit.p.vishnu]. I don't recall anyone built or imported one either, but i'm sure people have tried stuff. Unless what you want to do is relatively simple or you really have a good idea about physics, I wouldn't press my luck here. I made your balls bounce:
thanks again, this is interesting..
my last question is, do you know any way to make one ball orbiting around the other?
Done. Finished your homework now? ;P
ouch it crashes as soon as I paste it.. can you attach a maxpat file?
ok ok sorry I got it thanks so much
thank you but apparently PMPD for max5 does not exist.
peter Elsea made some nice Orbit objects Lorbit and Lspace, there are for mac only though, you can find them in the beta objects folder at :ftp://arts.ucsc.edu/pub/ems/Lobjects/
look also for the A-objects by Andre Sier , there is [a-grav] and some physcal model objects.
hi,
im using it with max5 and win xp.. dont know if theres for mac.
i downloaded here:http://drpichon.free.fr/pmpd/download/
bye,
o