You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Add ability to get barycentric coordinates from ray
This commit is contained in:
@@ -362,6 +362,7 @@ Dictionary PhysicsDirectSpaceState3D::_intersect_ray(const Ref<PhysicsRayQueryPa
|
||||
Dictionary d;
|
||||
d["position"] = result.position;
|
||||
d["normal"] = result.normal;
|
||||
d["face_index"] = result.face_index;
|
||||
d["collider_id"] = result.collider_id;
|
||||
d["collider"] = result.collider;
|
||||
d["shape"] = result.shape;
|
||||
|
||||
Reference in New Issue
Block a user