Tutorial: Rotating Brush Models for QuakeWorld

Post tutorials on how to do certain tasks within game or engine code here.
r00k
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Post by r00k »

Just once, as you still need to offset the end for the hull, whether the bmodel has rotated or not.
Adding else after checking the entity, says not to update the trace.endpos by offset just because its turned.
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Post by Spike »

There's an unconditional VectorAdd in baker's rotated trace though, hence why his version has the else, and yours should not.
Post Reply