Skip to main content

pite_physics/
query.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2use pite_core::NodeId;
3
4#[derive(Debug, Clone, PartialEq)]
5pub struct RaycastHit {
6    pub point: (f32, f32),
7    pub normal: (f32, f32),
8    pub distance: f32,
9    pub collider_node: NodeId,
10    pub body_node: Option<NodeId>,
11}