sm.lift.createVirtualLift

Creates a virtual lift. A virtual lift is a lift that doesn't exist in the game world. But allows for a static body to be placed on it.

Kind: Function

Environments: Game

Game

sm.lift.createVirtualLift( world, body )

Open the full Game reference

Availability: Server only

return Lift: The created lift.

Parameters:

Name Type Description
world World World to place the lift in.
body Body Body to place on the lift.