Skip to content

Commit b699508

Browse files
committed
Merge pull request #104599 from mihe/jolt/rest-info-shape-index
Fix `shape` always being zero with `get_rest_info` when using Jolt Physics
2 parents 5432291 + 4b56617 commit b699508

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
@@ -787,7 +787,6 @@ bool JoltPhysicsDirectSpaceState3D::rest_info(const ShapeParameters &p_parameter
787787
r_info->normal = to_godot(-hit.mPenetrationAxis.Normalized());
788788
r_info->rid = object->get_rid();
789789
r_info->collider_id = object->get_instance_id();
790-
r_info->shape = 0;
791790
r_info->linear_velocity = object->get_velocity_at_position(hit_point);
792791

793792
return true;

0 commit comments

Comments
 (0)