Hey
Well actually I tried half a dozen things to get gravity and jumping to work, but unfortunately I'm not able to get it to work.
I tried the script from the Kingdom Hearts Movement tutorial, but it doesn't work either, because of the missing "min" and "max" thing in Lite-C oÔ.
and somehow it's to difficult for me, cause I'm just a beginner in lite-c programming.
I tried things like:
function gravity_handle()
{
char_height = c_trace(vector(charakter.x, charakter.y, charakter.z), vector(charakter.x, charakter.y, charakter.z -4000), IGNORE_ME | IGNORE_PASSABLE | USE_BOX);
while(char_height < charakter.z )
{
charakter.z += 4 * time_step;
wait(1);
}
while(char_height > charakter.)
{
charakter.z -= 1 * time_step;
wait(1);
}
}this is only one example.
Well I don't get it how to code it, that the entitys should fall faster, the deeper they fall oO. and how to add jumping in there.
everytime I tried to add jumping .. all was goin wrong ôo.
If I hit the space-key one time, the charakter just jumped a little.
and when i hold the space-key he'S stuck in the air Oo...
so please I hope someone could help me with this script
Roxas~