Portal.setOpeningA

Sets the position of portal opening A.

Kind: Function

Environments: Game

Game

portal:setOpeningA( 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 A position.
rotation Quat The portal opening A rotation.
world (optional) World The world to look in (Optional, defaults to world from script context)