I’m looking to make a trampoline.
I’ve got a basic player launcher working, launching the player x each time there is a collision.
What I’m looking for is a way to count the collisions with the launcher so I can use the collision count as a multiplier for the launch height.
So, when colliding with the launcher:
First time velocity = x
Second velocity = x2
Third velocity = x4
Seems pretty simple, but I cant find any way to count the number of times the launcher has been hit, anyone fancy pointing me in the right direction?