Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

PhysicsTestMotionResult3D

Inherits: RefCounted < Object

Describes the motion and collision result from PhysicsServer3D.body_test_motion.

Description

Describes the motion and collision result from PhysicsServer3D.body_test_motion.

Methods

Object

get_collider ( int collision_index=0 ) const

int

get_collider_id ( int collision_index=0 ) const

RID

get_collider_rid ( int collision_index=0 ) const

int

get_collider_shape ( int collision_index=0 ) const

Vector3

get_collider_velocity ( int collision_index=0 ) const

int

get_collision_count ( ) const

float

get_collision_depth ( int collision_index=0 ) const

int

get_collision_local_shape ( int collision_index=0 ) const

Vector3

get_collision_normal ( int collision_index=0 ) const

Vector3

get_collision_point ( int collision_index=0 ) const

float

get_collision_safe_fraction ( ) const

float

get_collision_unsafe_fraction ( ) const

Vector3

get_remainder ( ) const

Vector3