Make an invisible sensor actor (either wireframe region or use visibility state). When it collides with the player, destroy itself, and change some variable. You might have for your jump code
- Code: Select all
yvelocity = -8;
In that case, create a jumpHeight variable and use that instead:
- Code: Select all
yvelocity = jumpHeight;
Don't forget to set jumpHeight to -8 on create actor (or level start, or whenever).