This component detects when a collision occurs with another game object. If the game object is valid as per specifications by the user, then an event is sent.
Suggested use:
Add to an object to detect collision between the owner and a specified object, and send an event when they collide.
Examples found in: Project 2
| Components | |||
|---|---|---|---|
| Property | Type | Description | Default Value | Component Properties |
| Collision Check Type | LPK Collision Check Type | What kind of collision should activate the event sending. | COLLISION_ENTER |
| Activator Game Objects | Array of Objects | Game objects to activate collisions. If this and tags are left empty, any object will activate the event. | 0 |
| Activator Tags | Array of Tags | Names of tags to activate collisions. If this and objects are left empty, any object will activate the event. | 0 | Collision Event Sending Info |
| Event | LPK Event Object | Event to dispatch when conditions are met:
|
None |
| Event Sending Mode | LPK Event Sending Mode | Who receives the event sent info when input is given from the input device. OTHER = only send to components on the game object that caused the collision. OWNER = only send to components on the same game object. ALL = send to all game objects. TAGS = send to specified tags. | OTHER | Debug Properties |
| Print Debug Info | Boolean | Toggle console debug messages. | False |
| Label | String | Notes for the user about this component. This does nothing to the game or build. | None |