setCollision
Set the collision type of the object.
Syntax
object.setCollision(type);
Parameters
Name | Type | Description |
---|---|---|
type | EntityCollisionType | The new collision type |
Example
object.setCollision('dynamic');
Available on: Client Server
Set the collision type of the object.
object.setCollision(type);
Name | Type | Description |
---|---|---|
type | EntityCollisionType | The new collision type |
object.setCollision('dynamic');
Available on: Client Server