Physics2DTestMotionResult

Inherits: Reference < Object

Properties

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 )

Property Descriptions

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

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_physics2dtestmotionresult.html