mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Transform surface normal to account for voxel entity orientation
This commit is contained in:
parent
4fa799e7c7
commit
96b84dcbaa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user