Forum

Tutorial: Rotating Brush Models for QuakeWorld

Post tutorials on how to do certain tasks within game or engine code here.

Moderator: InsideQC Admins

Postby r00k » Wed Jun 23, 2010 6:08 pm

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.
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby Spike » Wed Jun 23, 2010 7:12 pm

There's an unconditional VectorAdd in baker's rotated trace though, hence why his version has the else, and yours should not.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Previous

Return to Programming Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest