Collision Shape

self:is_remote

Client

Checks whether the instance is remotely owned

Syntax

local result = self:is_remote()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the instance is remotely owned, false otherwise

Examples

Check whether a collision shape is remote
local entity_owner = physics.rigid.create()
local entity = physics.collision_shape.create(entity_owner)

core.engine.print("info", "Remote:", entity:is_remote())

On this page