Game Development Community

Attach sound to an object?

by Ehrlich · in Torque Game Builder · 12/08/2008 (9:15 am) · 0 replies

Hello there folks.

im not sure if tis has been asked b4, but here goes...

how do you attach a sound to an object?
say, i have a chopper on the scene, that its movin everywhere, how do i attach a sound to that chopper (object), so that you can tell where is it moving by just hearing the sound?...

i know how to play sounds in TGB, but im not sure if you can attach the same sound to an object, so you can play a looping 3d sound to it, and tell where that object is for its emitting sound.

is it possible?...

thx in advance.

About the author

Computer Science Engineer, with interest in Graphicl Computing, unconventional I/O devices and Artificial Intelligence (for games)