Slick Forums https://slick.ninjacave.com/forum/ |
|
How do I attach 2 bodies together? https://slick.ninjacave.com/forum/viewtopic.php?f=19&t=4634 |
Page 1 of 1 |
Author: | hogofwar [ Fri Mar 02, 2012 8:18 pm ] |
Post subject: | How do I attach 2 bodies together? |
I can't see a way to do it in Fizzy, to attach 2 bodies together (not a compound shape, just 2 bodies). I also would like to know if it is possible to be able to make a body not collide with anything but still fire the collide events? |
Author: | Mr. Kenkron [ Tue Mar 06, 2012 2:06 am ] |
Post subject: | Re: How do I attach 2 bodies together? |
This requires filters and joints (). These are, regrettably, not yet implemented in fizzy. This is, however, implemented in jbox2d, so if you really want to use fizzy and filters and joints, you can create an extension of the Body/World class that handles filters and joints. If you find a clean solution and share it, I would love you forever. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |