Could someone show me how to make the player take damage for as long as they are touching a certain object?
game link
Could I also have help with the portals? I want them to take you to the next level only when the animation plays, and that animation only plays when you hit switches.
Yep, let me switch over to computer first.
I’ll make 2 examples, for your 2 questions.
Is the switch set to off by default?
I’m not sure how to use the portals sorry
How much time is in the timer?
I’m not Sigma, but use whatever you want, depending on how rapidly you want the player to take damage.
ok
yes the switch is off by default.
The timer can be how ever long you want but would suggest less than 1 second.
ok
Neither of them are working could someone please help?
What objects have the code in your game?
For the portal, it’s portal-tech and the switches, which are called portal unlocker and lleH portal unlocker respectively.
For the continuous damage, it’s the bladesaw and the player’s Health bundle.