Hey guys, Im using c_move and c_trace, and my collision detection for gravity doesn't work. The player sinks into the ground until it hits the origin of the players coordinates. What could be the problem?
Re: Collision detection only working at origin
[Re: Chameleon_Man]
#83579 07/28/0609:2707/28/0609:27
If you don't post some code we cannot help you. I guess there is a problem with the c_trace however I'd like to see the gravity part of your script. So please post it here and we might be able to help you.
Re: Collision detection only working at origin
[Re: Xarthor]
#83580 07/28/0609:3707/28/0609:37
Usualy what I do (I'm not using min_z,dunno why ) is look at the possition of my model in WED(the parameters in the properties window) and then point with the mouse at his feet,this gives me the distance from the origin to the end of the model,and then in the trace I dont trace from my.z but from my.z - the value that I calculated between the .z and the end of the model. And also with use_box
I fixed the problem. That's quite interesting USE_BOX isn't the same since the last update, because now that I think of it, that's when I really started having the problem.