I'm making a game that involves the player jumping around a lot using a teleporter like device. This is not like the teleport tutorial where worlds change, instead the Player leaps about 7.5 meters towards an orb that they can throw.
This all works great, however, I recently added Cloth Physics for my characters clothing. This doesn't work so well. The Player's clothing ends up stuck in walls, ceilings etc. This pic shows what's happening.
I'm wondering if there is a way to move the Cloth with the Player.
Right now I am using
Code:
matrix(PlayerOrb.matrix);
krag.pos(matrix().pos);
to teleport the player and it's kinematic ragdoll (krag from Cloth tutorial) to another location.
Is there something I can add/change to make this work?
EDIT: right now I have rigged it up to recreate the cloth after every teleport. This works but seems like a bad solution.