I'm creating a game where the objects attach to one another. It's important that they all keep their rigid bodies so they can interact with other unattached objects. Imagine a ball of trash rolling down a hill collecting more trash as it goes.
The best solution I've come up with is a Fixed Joint. Unfortunately there's no way, that I've found, to attach multiple Fixed Joints to a single object.
- Collide into GameObject, create a Fixed Joint, assign the Collided GameObject to the new Fixed Joint, and repeat -
The Fixed Joint's "Connected Body" is looking for a RigidBody and won't accept a GameObject. And I can't seem to get the RigidBody from the collided GameObject.
I'm looking into scripting options now but if someone knows of a better solution, or maybe knows of a modified version of the "Set Joint Connected Body" Action, that would be awesome!
Thanks,
Mike