SharedEntityRemote ( entity )

Parameters

entity - any entity

Description

Returns True if an entity is shared and another player owns it.

Remote entities are replicas: they follow their owner's copy, smoothed so they move evenly. Do not move, animate or apply physics to them - read their position to aim at them, follow them with a camera or show a name over them.

Freeing a remote entity is refused; its owner removes it. Returns False for an entity that is not shared.

For the full story - services, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample.


See also: SharedEntityLocal, SharedEntityOwner, SharedEntityID, FindSharedEntity.

Index