aevyrie / bevy_mod_raycast

A little mesh raycasting plugin for Bevy
https://crates.io/crates/bevy_mod_raycast
MIT License
303 stars 92 forks source link

fix to_aligned_transform for colinear up and normal vectors #73

Closed kevinboulain closed 1 year ago

kevinboulain commented 1 year ago

I believe this:

Please note I'm a dunce when it comes to maths/3D but that seems simple enough.

Before: before After: after