Hi all,
I'm basically trying to pull a crate in the platformer protoype I'm making.
I managed to push the crate from left and right using the platformer behaviour, but can't manage to get the crate follow the character when pulling. Actually I did manage to pull it but then the crate at some point overlapped with the player, which got stuck inside. That's why I should probably not use the platformer behaviour, but I'm not sure how to actually do it differently.
To detect when the avatar should be pulling / pushing the crate, I have put a rectangle that is perpendicular to the avatar. When it overlaps with the crate, and the player presses B on the gamepad, it will pull or push the crate depending on the direction of the stick.
Any help would be gretaly appreciated!
Cheers,