Okay so I have a part of the trampoline code,
Code:
entity_get_vector(id, EV_VEC_velocity, velocity);
velocity[2] = 500;
entity_set_vector(id, EV_VEC_velocity, velocity);
entity_set_int(id, EV_INT_gaitsequence, 6);
and I want to make it so if you touch that above trampoline while having lower gravity, it continues your gravity while throwing you up in the air. How would I go by doing this?
Thanks all!
(And yes this is the trampoline code from blockmaker, no I'm not going to release this in any way)
__________________