Item
Beta
Readonly
Beta
collideDescribes information of the collision point(s). If the collided object is touching with its surface or edge, it will be represented as multiple collision points.
Readonly
Beta
handleReturns a handle that describes the collided object, or null
.
If the collided object is an item, returns ItemHandle.
If the collided object is a player, returns PlayerHandle.
If the collided object is not an item or a player, returns null
.
Refer Handles in the top page of Script Reference to know how to handle this value.
Readonly
Beta
impulseThe total amount of impulse generated from the collision.
Readonly
Beta
objectDescribes the collided object.
Collision.object
is deprecated.
Please use Collision.handle
instead.
Readonly
Beta
relativeThe relative velocity of the collided object as seen from the item.
Generated using TypeDoc
Describes a collision event between an item and another object.