Receiving the direction of all avatars in the room

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
trispo
Posts: 28
Joined: 30 Jul 2008, 09:56

Receiving the direction of all avatars in the room

Post by trispo »

Hey,

in our implementation and even in your ranch example all avatars except my own one are looking in the same direction when I join a room. This looks really strange.
Is there the possiblity to obtain the right direction of the avatars?

Thanks. trispo
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Currently the avatar direction is not saved internally by OpenSpace: we will fix these in the next releases.
Anyway, when an avatar is created, you can pass the direction in the OpenSpace.createMyAvatar method.
Paolo Bax
The SmartFoxServer Team
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

Post by lilshtz »

Hi Bax,

Is the avatar direction being saved internally by OpenSpace yet? If so, which version?

thanks!

--chris
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

This will be a feature of OpenSpace 2, not yet released.
Paolo Bax
The SmartFoxServer Team
tholt
Posts: 7
Joined: 05 Jan 2010, 19:37
Location: San Antonio, TX
Contact:

Post by tholt »

bax wrote:This will be a feature of OpenSpace 2, not yet released.
Any time frame on that release or perhaps a list of anticipated features? We're currently evaluating OpenSpace as part of a new product and would be interested to know more about OS 2.
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

Post by lilshtz »

I would also like to know an approximate release date for OpenSpace 2. Thanks!

In addition, I am unclear how OpenSpace.createMyAvatar can set the direction of all the other avatars in the room. I understand how it affects MY avatar, just not all the rest. Any help would be appreciated.

Thanks!

--chris
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

Post by lilshtz »

I was able to set all the directions by setting a custom user variable "avatarDirection" on each of the users, and then setting the avatars to face that direction when the AVATAR_CREATED event is handled.

I'm still interested in the 'official' solution to this situation.

thanks!
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

The "official" solution is quite similar: OpenSpace will handle a user variable (together with the others it already uses) to "save" the direction faced by avatar.
Paolo Bax
The SmartFoxServer Team
Post Reply