RU
Magomet Kochkarov
Magomet Kochkarov
1 подписчик
цели
609.13 из $ 1 117 собрано
Eat

Trap plates !

All platformers need to have trap plates of some sorts! So this is what I've created for my sub! All it does is fades out and becomes passable, so player (or other npcs) will fall through it to their death. Logic is quite simple, I activate them with a short raycast that I projects from entities origin downwards to an extend that raycast's 'end' position is slightly poking from entitie's lower bbox edge. On activation it has 3 states. Activation (when it fades out), counter (5 seconds) and fade back in state.

You can see how it all looks here:

Уровни подписки

Basic subscription

$ 0,12 в месяц
Buy me a coffee
Наверх