noooo......not custom hulls! Don't do it!

----- Original Message -----
From: "botman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 7:15 PM
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

Reply via email to