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 )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
enable |
boolean | Set immovable state. |