Spherical MMO room AOI

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

User avatar
Flying_Banana
Posts: 42
Joined: 04 May 2014, 07:03

Spherical MMO room AOI

Postby Flying_Banana » 12 Jun 2014, 05:53

in a 3D fps, it is weird to have a rectangular AOI (imagine you turn your character 45 degrees, now you see other characters, if they fill your AOI, spawning in a triangle before you). I think a spherical MMORoom aoi would solve the problem. How viable is it? Is the additional calculation going to add a lot more overhead?
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Spherical MMO room AOI

Postby Lapo » 16 Jun 2014, 12:02

The idea is that in 3D you obtain a cube or parallelepiped depending on the AOI size.
Supporting a sphere is really not possible, but the sphere can be enclosed in a cube with a relatively small amount of "waste", meaning that the corners of the cube that continue beyond the sphere will also receive notifications.

This is not a problem actually, because it is quite normal to set the AOI somewhat larger than, say, the visible area to avoid seeing characters materialize abruptly in the area.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 4 guests