So i have an object with the physics behavior, and i want to split it into two physics objects,of the same type by drawing a line over it.I know how to make the line, i just cant figure out how to split the object correspondingly to the line.
Hers's a picture: dl.dropbox.com/u/52670878/cut.png
I suppose i have to use the canvas object somehow...
Any help or ideas on how to do this would be appreciated.Thanks in advance.