Character.setImmovable

Sets the immovable state on a non-player character. This prevents the character from updating its physics.

Kind: Function

Environments: Game

Game

character:setImmovable( enable )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
character Character The character.
enable boolean Set immovable state.