Skip to content
Snippets Groups Projects
Commit 5388e8b1 authored by Nils Dagsson Moskopp's avatar Nils Dagsson Moskopp
Browse files

* different collision box for fireflies so they now hover above the ground

parent f5c6e397
No related branches found
No related tags found
No related merge requests found
......@@ -809,7 +809,7 @@ void FireflySAO::step(float dtime, bool send_recommended)
Move it, with collision detection
*/
core::aabbox3d<f32> box(-BS/3.,0.0,-BS/3., BS/3.,BS*2./3.,BS/3.);
core::aabbox3d<f32> box(-BS/3.,-BS*2/3.0,-BS/3., BS/3.,BS*4./3.,BS/3.);
collisionMoveResult moveresult;
// Maximum movement without glitches
f32 pos_max_d = BS*0.25;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment