1 decade ago by carlos_moreira
I have a moving entity on a map. (Spikes in the ground).
Is there a way to have an entity move through a collision level?
Example I have Spikes on a floor, on a collision level, when the spikes are up, anything in its path is killed. When its down, the player can freely walk above it.
In Weltmeister, I put the spikes inside a collision level, to do that exactly.
Problem : I have this entity moving up and down. When the entity moves up for the first time, it moves above the collision block and gives itself a new (Y-axis) into which it moves up and down.
I've tried playing with the collides , but that only seems to work with other entities.
Is there a way to have an entity move through a collision level?
Example I have Spikes on a floor, on a collision level, when the spikes are up, anything in its path is killed. When its down, the player can freely walk above it.
In Weltmeister, I put the spikes inside a collision level, to do that exactly.
Problem : I have this entity moving up and down. When the entity moves up for the first time, it moves above the collision block and gives itself a new (Y-axis) into which it moves up and down.
I've tried playing with the collides , but that only seems to work with other entities.