There seems to be quite a few threads popping up about setting attachments in runtime. The problem seems to be that changing the slot attachment (or setting it to null) doesn't happen straight away, instead it happens when that slot is keyed in an animation. Nate explained it wasn't a bug, but an optimisation as checking the attachments every frame was a bottle neck.
However, I have never witnessed this problem :s or maybe I have and never noticed it.
I use SetSlotToSetupPose
function quite a bit, which uses spSlot_setAttachment
to change the attachments. And it would be, to me, silly for a function not to update straight away. Is the issue with these threads they are not setting the slot's time? does setting the slots update time force the update in the spAnimation_Apply
? - I did a search but couldn't find it being used anywhere?
(most of these threads people where doing Slot.Attachment = Attachment, rather than spSlot_setAttachment
)
Im very confused :drunk: