#Collision Damage
1 messages · Page 1 of 1 (latest)
Get velocity of player
If player velocity magnitude is greater or equal to X
Then take damage
I don’t know how to necessarily make it so where the faster you go the more damage you take
-
Overlap Boxon thePlayer -
List Get Countof theList<Collision Data> -
Execution Integer Switchwith a0 -
On
Failed, check anIf -
Get Velocityof thePlayer -
Vector Get MagnitudetheGet Velocity -
Greater Thanthe speed you want, connect to theIf -
Thendeal damage -
Elsedo nothing