the hull always stays pointed the same way, thats why the player hull is a
square rectangle.

Benifits of hulls are that they dont need much extra collision code to work,
but the problems are that you are very limited with them - i.e. limits to
size etc.

Beniftis of tracelines are that they can be used for any size and shape of
vehicle, but the problems is bascially that you have to be really board to
set up all of the tracelines right so that you get a good collision system


----- Original Message -----
From: "Andrew Hefford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 8:13 PM
Subject: RE: [hlcoders] Solid Vehicles


> 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
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to