Portal.setOpeningB

Sets the position B of portal opening B.

Kind: Function

Environments: Game

Game

portal:setOpeningB( position, rotation, world )

Open the full Game reference

Availability: Server only

The world will be the same as the object that calls this function.

Parameters:

Name Type Description
portal Portal The portal.
position Vec3 The portal opening B position.
rotation Quat The portal opening B rotation.
world (optional) World The world to look in (Optional, defaults to world from script context)