Joints

big12isu

  • Posts: 19
Hi, I have looked at the joint features in the scene editors. Is there any way that there could be rope joints. Also, can there be a way to make the joints and destroy the joints through code?

captaincomic

  • *
  • Posts: 6109
In the scene editor you can only create a few types of joints, no rope joints. But, yes, it's possible to create and destroy joints via code.

You can take a look at the Joint Blocks behavior on StencylForge. It contains Flash-only custom blocks to create revolute and mouse joints. Creating rope joints is probably very similar. It's also possible to do it on iOS with Obj-C, but I don't know the exact code for it.