That is probably cause the entity's animation (or movement or rotation) runs after the attachment function. Either run the attachment function after those functions (e.g. by removing the while from it and just call it every frame after those functions <- this is what I do) or use proc_mode in your attachment function. Hope that helps.

Last edited by Reconnoiter; 02/28/17 15:26.