Physics2DTestMotionResult

Inherits: Reference < Object

属性

Object

collider

int

collider_id

0

RID

collider_rid

int

collider_shape

0

Vector2

collider_velocity

Vector2( 0, 0 )

float

collision_depth

0.0

Vector2

collision_normal

Vector2( 0, 0 )

Vector2

collision_point

Vector2( 0, 0 )

float

collision_safe_fraction

0.0

float

collision_unsafe_fraction

0.0

Vector2

motion

Vector2( 0, 0 )

Vector2

motion_remainder

Vector2( 0, 0 )

属性说明

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()


Default

Vector2( 0, 0 )

Getter

get_collider_velocity()


Default

0.0

Getter

get_collision_depth()


Default

Vector2( 0, 0 )

Getter

get_collision_normal()


Default

Vector2( 0, 0 )

Getter

get_collision_point()


  • float collision_safe_fraction

Default

0.0

Getter

get_collision_safe_fraction()


  • float collision_unsafe_fraction

Default

0.0

Getter

get_collision_unsafe_fraction()


Default

Vector2( 0, 0 )

Getter

get_motion()


Default

Vector2( 0, 0 )

Getter

get_motion_remainder()