Attachments experience movement delays, triggered randomly

User avatar
MirceaKitsune
Member
 
Posts: 860
Joined: Sat May 21, 2011 22:31
Location: Romania, Bucharest
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

Attachments experience movement delays, triggered randomly

by MirceaKitsune » Mon Jun 22, 2015 01:26

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.
 

User avatar
stu
Member
 
Posts: 923
Joined: Sat Feb 02, 2013 02:51
Location: United Kingdom
GitHub: stujones11

Re: Attachments experience movement delays, triggered random

by stu » Wed Jun 24, 2015 17:30

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?
 

User avatar
stu
Member
 
Posts: 923
Joined: Sat Feb 02, 2013 02:51
Location: United Kingdom
GitHub: stujones11
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests