神岛 API 文档 - ArenaPro版
    Preparing search index...

    Class GameEntityContactEvent

    当两个实体发生碰撞时触发的事件。

    Event triggered when two entities collide.

    Index

    Properties

    碰撞的分离轴。

    The separation axis of the collision.

    entity: GameEntity

    第一个实体。

    The first entity.

    碰撞产生的力。

    other: GameEntity

    第二个实体。

    The second entity.

    tick: number

    实体发生碰撞的时间。

    The time when the entities collided.