Hi
It seems that there are some bugs with an animated object (.dae)
- if I use InstanceObject() and SetObjectScalePermanent() with the animated object, all the instances and the original are deformed.
- If I use SetObjectScale() (with or without a shader on this object), the original (and instancied) object is deformed.
This work in 2.016 with CloneObject() (not with instanceObject()), but not in 2.017 :
LoadObjectWithChildren(1,"object.dae")
SetObjectImage(1,1,0)
SetObjectAnimationSpeed( 1, 1 )
PlayObjectAnimation(1, "", 0, 5, 1, 0)
// SetObjectScale(1,r,r,r)
// SetObjectScalePermanent(1,r,r,r)
SetObjectPosition(1,0,0,0)
// some instance to see the bug
InstanceObject(2,1)
SetObjectScalePermanent(2,0.3,0.3,0.3)
SetObjectPosition(2,0,0,-6*r)
SetObjectAnimationSpeed(2, 1 )
PlayObjectAnimation(2, "", 0, 5, 1, 0)
Screenshot of the bug :
AGK2 tier1 - http://www.dracaena-studio.com