hi, when the character jump and 'is near to touch'/'touch' the ceiling, the camera go through wall, camera clip near works nice but jump still buggy in this case.

so im looking for 2 sort of solution (solution for camera would be the best for me):

-if someone has an idea on how to block the camera in case of jump. (vector too hard for me, i use basic 3rd person camera).

or

-i tried to found out a solution alone : "when u touch the house, u cant jump anymore, then if u go outside, u can jump" (sucky but no choice due to camera bug).
so i got this code :

Quote:
function saud()
{
if (event_type == EVENT_IMPACT)
{
beep();
jump=0;
}
}

action inside
{
my.ENABLE_IMPACT = ON;
my.event=saud;
}


i got mass beep but player can still jump.
jump is a global variable but looks like jump=0; don't change anything (basic value is 75, and the player can jump high). tried send_var(jump) too but it change nothing.

thx