View Full Version : UE2 - UT2kX Playing a sound when vehicle has collision with other objects

25th Dec 2011, 07:26 PM
Hello every body

I have modeled a wheelchair using Unreal Tournament 2004. How i can attach a sound to my wheelchair(staticmesh) that when my wheelchair has any collision with any object like wall or ... that sound plays?

P.S. I'm working with Unreal Tournament 2004. It is a scientific project and i have simulated a wheelchair using unreal tournament and now i want to know when my wheelchair has any collision with other objects in the map by playing a sound.

Thanks in advance

28th Dec 2011, 12:40 PM

Is it such a dumb question ... ?


Wail of Suicide
12th Mar 2012, 11:18 AM
Take a look at the code for vehicles in UT2004, as they already have this behavior. Just off the top of my head I'd recommend taking a look at the Touch() function, but there's probably a more Vehicle/Karma-specific one (I just can't remember it offhand).