[Opensim-users] Detect distance from BOT to the chatting avatar.

Justin Clark-Casey jjustincc at googlemail.com
Fri Nov 5 00:12:25 UTC 2010


On 04/11/10 14:23, Tomas Trescak wrote:
> Dears
>
> I need to detect distance from my bot to the chatting avatar.
> I have an event handler in my BOT that detects chat messages:
>
> Client.Self.ChatFromSimulator += HandleClientSelfChatFromSimulator;
>
> This method should only do something if avatar is close enough to my BOT
>
> private void HandleClientSelfChatFromSimulator (object sender, ChatEventArgs e)
> {
> 	// detect distance	and possibly execute
> }

This looks like a libomv question.  It's better asked on that project's lists, I would say.

-- 
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-users mailing list