playMaker

Author Topic: How to connect object created from prefabs to joints of existing objects in 2D?  (Read 1514 times)

Pawtacle

  • Playmaker Newbie
  • *
  • Posts: 1
  • Just a perpetually confused dev
I'm making a weapon switching system and the weapons all use joints to connect to the player. I saw there's an action called "Set Joint Connected Body" that I think would work perfectly for what I'm trying to do - except that it only works for 3D objects.

Is there a way to do this for 2D joints in Playmaker? To clarify, what I'm doing is:

1. Destroy the weapon currently in use
2. Create the selected weapon from a prefab
3. Connect the new weapon into the joint on player (this is the one I'm having a problem with)