![]() |
|
|
#1 |
|
Registered User
Join Date: Dec. 6th, 2011
Posts: 3
|
Playing a sound when vehicle has collision with other objects
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 |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Dec. 6th, 2011
Posts: 3
|
Nobody?
Is it such a dumb question ... ? ;-) |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr. 11th, 2006
Posts: 695
|
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).
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|