≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Play same file multiple times
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b]Lukas[/b] wrote: Hi, First of all, I am new to irrklang and programming (we use c++), so it would be nice if you could use not too many technical Terms. :) We develop a small underwater Simulation with ogre3d and irrklang and I would like to give the fish a 3D Sound. Just a Little watercurrent or something like that. Problem is, that not every fish has a sound, to be honest, it seems that only one fish has it. To play the sound every fish has a Sound object which gets the position of the fish. The key function is: //update soundposition for every fish void Sound::updateFish(Ogre::Vector3 pFishPosition) { if (fishWhirl->isFinished()) { fishWhirl->setVolume(50); //just for testing reasons fishWhirl = soundEngine->play3D(fish, vec3df(pFishPosition.x, pFishPosition.y, pFishPosition.z), false, false, true); } } Has anyone an idea how to do this? Is it even possible to Play the sam3 Sound file simultanousely several times?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact