Quick Question: Do trace hulls possess orientation or are they axis aligned? What are the differences/benefits/drawbacks between a hull trace and a trace line?
--> -----Original Message----- --> From: [EMAIL PROTECTED] [mailto:hlcoders- --> [EMAIL PROTECTED]] On Behalf Of botman --> Sent: 13 March 2002 19:16 --> To: [EMAIL PROTECTED] --> Subject: Re: [hlcoders] Solid Vehicles --> --> > I have used the train code from Half-Life to make vehicles. --> > Only i can`t stop them from moving trough walls. --> --> You will probably need to do LOTS of UTIL_Tracelines as the vehicle is --> moving --> to determine if the vehicle is about to run into something (collision --> detection) and stop it from moving (set the velocity to zero). --> --> If you wanted to sacrifice one of the hulls (for example the large --> hull), you --> could make a hull the same size as the vehicle (assuming all vehicles --> were the --> same size) and use the UTIL_Tracehull() to determine if the vehicle was --> about --> to collide with something. You would need to specify this hull size --> when --> building all your maps though. See some of the hlcoders archives (both --> on --> list.valvesoftware.com and www.topica.com) for details on setting up --> custom --> hulls. --> --> Jeffrey "botman" Broome --> --> _______________________________________________ --> To unsubscribe, edit your list preferences, or view the list archives, --> please visit: --> http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

