this might be a stupid question. but im trying to call gravity from its own function by using a c_trace, then a single c_move in the player action.
but im having a issue figuring this out.

1. i want to use a c_trace to find the distance to the floor.
like
Code:
floor_dist = (c_trace(my.x,nullvector,my.z -1000),USE_BOX);



2. i would like to change the absoute force in script for winds, low gravity and perhaps extreme gravity.

3. from what i read accelerate can be used to apply gravity (outside forces) to my player, but it doesnt have collision detection. can it be used with a c_trace and c_move?

can someone write a basic code here to outline the way to do this. Just need a basic idea.
Perhaps its my use of VECTOR and/or var (both can be used for x,y and z(tho only curious about .z movement)).
I never used c_move or c_trace before.
i dont get errors just not the results i thought
I know how they are defined, i read everything i could find about em.
I just seem to make things harder then it is.

Thanks in advance for anyone willing to give any assist.


ever hear the expression once you learn it's hard to forget...
I think learning programming languages as,

I just mastered old school roller skating...
Now they have roller blades, Same wheels, different setup