SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
SetUserPositionRequest Class Reference

#import <SetUserPositionRequest.h>

Inherits BaseRequest.

Class Methods

(id) + requestWithPosition:mmoRoom:
 

Detailed Description

Updates the User position inside an MMORoom.

MMORooms represent virtual environments and can host any number of users. Based on their position, the system allows users within a certain range from each other (Area of Interest, or AoI) to interact. This request allows the current user to update his position inside the MMORoom, which in turn will trigger a [ISFSEvents onProximityListUpdate:] event for all users that fall within his AoI.

See also
MMORoom
[ISFSEvents onProximityListUpdate:]

Method Documentation

◆ requestWithPosition:mmoRoom:

+ (id) requestWithPosition: (Vec3D*)  pos
mmoRoom: (id<Room>)  theRoom 
Parameters
posthe position in the MMORoom
theRoomMMORoom, can be nil in which case the last joined Room will be used
See also
MMORoom
[ISFSEvents onProximityListUpdate:]