Physics2DTestMotionResult
继承
简要描述
描述
成员
类型 | 属性名 | 默认值 |
---|---|---|
Object | collider | |
int | collider_id | 0 |
RID | collider_rid | |
int | collider_shape | 0 |
Vector2 | collider_velocity | Vector2( 0, 0 ) |
Vector2 | collision_normal | Vector2( 0, 0 ) |
Vector2 | collision_point | Vector2( 0, 0 ) |
Vector2 | motion | Vector2( 0, 0 ) |
Vector2 | motion_remainder | Vector2( 0, 0 ) |
成员说明
- Object collider
getter | get_collider |
---|
- int collider_id
Default | 0 |
---|---|
getter | get_collider_id |
- RID collider_rid
getter | get_collider_rid |
---|
- int collider_shape
Default | 0 |
---|---|
getter | get_collider_shape |
- Vector2 collider_velocity
Default | Vector2( 0, 0 ) |
---|---|
getter | get_collider_velocity |
- Vector2 collision_normal
Default | Vector2( 0, 0 ) |
---|---|
getter | get_collision_normal |
- Vector2 collision_point
Default | Vector2( 0, 0 ) |
---|---|
getter | get_collision_point |
- Vector2 motion
Default | Vector2( 0, 0 ) |
---|---|
getter | get_motion |
- Vector2 motion_remainder
Default | Vector2( 0, 0 ) |
---|---|
getter | get_motion_remainder |