View Single Post
Re: Determining the surface a character is on
Old
  (#2)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Determining the surface a character is on - 30-04-2004

Trace a line downward and check the material type that was hit.

See the TEXTURETYPE_PlaySound() function in sound.cpp of SDK 2.3 for an example.

botman
  
Reply With Quote