PlatformEffector2D on a game object with a RigidBody set to dynamic
Hi,
Hopefully someone can point out my error.
I have three game object Ground, Player and a Platform Object. I won't to add a platformeffector2d to the Platform Object. The Platform Object has a RigidBody attached to it. I need this as the player is able to blow up the platform and the fragments need to fall to the ground. Or if a Platform Objects are stacked and a lower object is blown up the Platform Objects above also need to fall.
I won't to use a PlatformEffector2D as the player should be able to jump through the Platform Objects as this is a 2D platform game.
However when I set the Platform Object's RigidBody to Dynamic it falls through the floor. But if I turn the platformeffector2d off on the Platform Object its doesn't.
I've set the Collider Mask to only recognise the Player object via the physics layer and the Physics layers are all set to on. So everything should interact with each other.
Any help would be appreciated.
Your answer
