Page 1 of 1

Attachments experience movement delays, triggered randomly

Posted: Mon Jun 22, 2015 01:26
by MirceaKitsune
https://github.com/minetest/minetest/issues/2813

I found a weird and annoying issue with attachments. As much as I implemented the initial attachment code, I cannot figure out what is causing this and why. It might be an Irrlicht bug, although I'm inclined to suspect something Minetest side as well.

When an object is attached via obj:set_attach, there will be times when it follows its parent smoothly as it moves around, instead of instantly duplicating its position and rotation like it should. The problem is only triggered randomly too: Sometimes I would restart the game and it works fine, at other times there's the movement delay.

I only tried this by parenting a Lua entity to a bone on my player's model, then watching myself in 3rd person view as I moved around. Some of the objects are firmly attached to me, while others follow me slowly and it looks off... which does which is always random whenever I start the game.

Re: Attachments experience movement delays, triggered random

Posted: Wed Jun 24, 2015 17:30
by stu
MirceaKitsune wrote:https://github.com/minetest/minetest/issues/2813

I found a weird and annoying issue with attachments. As much as I implemented the initial attachment code, I cannot figure out what is causing this and why. It might be an Irrlicht bug, although I'm inclined to suspect something Minetest side as well.

When an object is attached via obj:set_attach, there will be times when it follows its parent smoothly as it moves around, instead of instantly duplicating its position and rotation like it should. The problem is only triggered randomly too: Sometimes I would restart the game and it works fine, at other times there's the movement delay.

I only tried this by parenting a Lua entity to a bone on my player's model, then watching myself in 3rd person view as I moved around. Some of the objects are firmly attached to me, while others follow me slowly and it looks off... which does which is always random whenever I start the game.
I am pretty sure this is a minetest bug and one that has been introduced since 0.4.10, not much help I know but it's the most recent client build I have before 0.4.12 and it does not seem to have this problem. Note that I am referring to multiplayer mode rather than third person view.

Irrlicht did have some attachment problems with directx models irrc, but it works just fine with b3d

Have you opened an issue on github?

Re: Attachments experience movement delays, triggered random

Posted: Sat Mar 19, 2016 22:44
by stu
Some new findings on this one: #2813