From: Cobalt <co...@te...> - 2016-08-31 17:32:50
|
> I gather what you want is the appearance of the gib "rolling" down the > wall. Pretty much. > What about walls that shift away from a 90 degree vertical plane? > (This is the same issue as the corner problem.) > makevectors(trace_plane_normal); > v_up should now point vertically up along the face of the wall. > Negate that for a velocity_z. This definately is what I was looking for. Only so far the rotation is always rolling backwards with respect to the direction of the wall. As for when it reaches the bottom corner of an overhead , say for example a spiked part of the bsp on the ceiling, or similar, I dont know how to detect such. I am using checkbottom() but apparently its got a height tolerance gap which is pretty big, so there is a false positive and you can sometimes see the gib still rolling in mid air. |