Hierarchy

  • RaycastSystem

Methods

  • Execute callback when the entity receives a RaycastResult component update. Uses a Vector3 global target position to calculate the ray direction

    Parameters

    Returns void

  • Deprecated

    use registerGlobalTargetRaycast(raycastData, cb) instead

    Parameters

    Returns void

  • Remove the callback for raycast event

    Parameters

    • entity: Entity

      Entity where the callback was attached

    Returns void