|
Re: Stuck when Crouching
[Re: Valdsator]
#386342
11/01/11 22:03
11/01/11 22:03
|
Joined: Mar 2003
Posts: 1,524 Canada
Stansmedia
Serious User
|
Serious User
Joined: Mar 2003
Posts: 1,524
Canada
|
If your bounding box is touching the slope then that could be it. The bounding box should only go down to about knee height. Use c_trace (with Use_box set) to add gravity and keep the feet on the ground.
Last edited by Stansmedia; 11/01/11 22:05.
|
|
|
Re: Stuck when Crouching
[Re: Stansmedia]
#386357
11/02/11 01:35
11/02/11 01:35
|
Joined: Mar 2009
Posts: 186
Valdsator
OP
Member
|
OP
Member
Joined: Mar 2009
Posts: 186
|
I'm already using c_trace with USE_BOX to take care of all the slope walking and stair climbing, but the bounding box still goes to the feet because otherwise there are problems with getting stuck on ledges, and I would need another bounding box to make sure bullets could hit the player's feet. Anyway, wouldn't changing the bounding box change how USE_BOX affects the c_trace? This might be the problem.
I attempted to change the bounding box right before the main c_trace, and then change it back, but that just screwed it all up.
EDIT: Although, it seems that you're right. The bounding box is simply getting stuck, but that seems weird. I'm only changing the top of the bounding box, not the bottom.
Last edited by Valdsator; 11/02/11 01:39.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|