1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! # components.rs
//!
//! # components.rs 文件
//!
//! ## Module Overview
//!
//! ## 模块概述
//!
//! Defines collision-related components, primarily the `Rect2DCollider` for 2D AABB collision detection.
//!
//! 定义碰撞相关组件,主要是用于 2D AABB 碰撞检测的 `Rect2DCollider`。
use *;
/// 2D rectangular collider component with size and offset.
///
/// 2D矩形碰撞体组件,包含尺寸和偏移量。
/// Offset component for TriggerCollider hitbox positioning.
/// Used to position the hitbox relative to the entity's transform.
///
/// TriggerCollider 判定框位置偏移组件。
/// 用于相对于实体变换定位判定框。
;