Skip to content

Commit ed434eb

Browse files
miheSpartan322
authored andcommitted
Fix shape always being zero with get_rest_info when using Jolt Physics
(cherry picked from commit 4b56617)
1 parent 901c322 commit ed434eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/jolt_physics/spaces/jolt_physics_direct_space_state_3d.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,6 @@ bool JoltPhysicsDirectSpaceState3D::rest_info(const ShapeParameters &p_parameter
792792
r_info->normal = to_godot(-hit.mPenetrationAxis.Normalized());
793793
r_info->rid = object->get_rid();
794794
r_info->collider_id = object->get_instance_id();
795-
r_info->shape = 0;
796795
r_info->linear_velocity = object->get_velocity_at_position(hit_point);
797796

798797
return true;

0 commit comments

Comments
 (0)