contact or isSensor?pff

Hi everybody

i am making a platform game and have a question.

I have a player(dynamic body) and enemies(dinamyc bodies) and a floor (static body)

When the player collides with an enemy i want that the player  blinks(currently is working) and the player must pass throught the enemy blinking 2 seconds as it hasn´t any physic property , but as they are dinamyc and physic  bodies they get stuck.

I tried changing the player “isSensor” to true and works, but the player falls down throught the floor and disappears from the screen as it is a dynamic body.

Is there a way to make the player static for a momento  and then change to dynamic?another better solution?

Thanks to all and excuse my bad english

Txarly

i´ve found the way thks

i´ve found the way thks