What I mean is, say you have a puzzlr piece, when you click it, it becomes movable. I was able to do this, but when I click to place it, whatever physics were applied to it before kick in,and it goes flying, unless it was already standing still. I don't want to kill the physics completely, because I need it to collide while I move it. Any ideas?
This is what I did to stop the physics of the piece while I move it, but sill allow collision with other pieces:
phy set rigid body position piecenum,bx#,by#,bz#
phy set rigid body angular velocity piecenum,0,0,0
phy set rigid body gravity piecenum,0
phy set rigid body rotation piecenum,pax#,pay#,paz#
Thanks in advance.
Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click
here!