Transform surface normal to account for voxel entity orientation

This commit is contained in:
Joshua Barretto 2023-05-25 15:18:42 +01:00
parent 4fa799e7c7
commit 96b84dcbaa

View File

@ -1209,7 +1209,7 @@ impl<'a> PhysicsData<'a> {
entity,
Vel(previous_cache_other.ori * vel.0
+ vel_other),
surface_normal,
previous_cache_other.ori * surface_normal,
));
},
read,