mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Closed add object <-> object collision handling
This commit is contained in:
parent
880d9e53c3
commit
8800896824
10 changed files with 157 additions and 33 deletions
|
@ -138,7 +138,7 @@ void Particle::step(float dtime, ClientEnvironment &env)
|
|||
v3f p_pos = m_pos*BS;
|
||||
v3f p_velocity = m_velocity*BS;
|
||||
v3f p_acceleration = m_acceleration*BS;
|
||||
collisionMoveSimple(&env.getClientMap(), m_gamedef,
|
||||
collisionMoveSimple(&env, m_gamedef,
|
||||
BS*0.5, box,
|
||||
0, dtime,
|
||||
p_pos, p_velocity, p_acceleration);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue