Findcontacts and mContactInfo.contactNormal
by Clint S. Brewer · in Torque Game Engine · 01/16/2005 (6:29 pm) · 2 replies
In player.cc
at the bottom of findContacts I see this code...
that looks a bit odd to me shouldn't it be
so if contacted is true then we store a copy of the contactNormal?
at the bottom of findContacts I see this code...
if (!(mContactInfo.contacted = !polyList.isEmpty()))
mContactInfo.contactNormal = *contactNormal;
mContactInfo.run = *run;
mContactInfo.jump = *jump;that looks a bit odd to me shouldn't it be
if (mContactInfo.contacted = !polyList.isEmpty())
mContactInfo.contactNormal = *contactNormal;
mContactInfo.run = *run;
mContactInfo.jump = *jump;so if contacted is true then we store a copy of the contactNormal?
About the author
Recent Threads
#2
Good eye, Clint.
03/14/2005 (11:07 pm)
Hmm... Yeah, I think you're right. At least, I updated it and nothing bad happened. :PGood eye, Clint.
Associate Ben Garney