Hi,
I am having an issue with
FixObjectPivot() on an object loaded with Children in
AGK 2.0.15 Alpha.
I recreated the issue using the "3D Bone Animation" Example.
Basically the object loads and plays its animation correctly but once FixObjectPivot is added it gets skewed or stretched. Not even really sure it just looks ridiculous.
Checkered plane added for reference.
How it looks when FixObjectPivot() is added.
setObjectPosition(1,20,0,20)
FixObjectPivot(1)
SetObjectPosition(1,0,0,0)
Same Frame without FixObjectPivot()
Overlay of the correct frame with Image of Piveted object place where there are technically in the exact same location if FixObjectPivot() worked.
What is interesting is the Gun object is in the exact same location during the animation of both the Pivoted object and unmodified object.
setObjectPosition(1,20,0,20)
FixObjectPivot(1)
//Adjust for Pivot offset
SetObjectPosition(1,-20,0,-20)
Does anyone know what I am might be doing wrong or
Maybe this is an issue with AppGameKit 2.0.15 Alpha that needs to be fixed?
Thank you