Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / AttachTransformation changes
- By Clonk-Karl Date 2015-08-19 01:30
As previously mentioned here, I have changed the coordinate system of the transformation parameter of AttachMesh(). I have adapted all uses in the OpenClonk repository, but if you have any content outside, you'll need to make the following changes to AttachMesh transformations (including GetCarryTransform() return values) to keep attached meshes appearing at the correct position with the snapshot engine:

Trans_Translate(x,y,z) -> Trans_Translate(y,-z,x);
Trans_Rotate(angle,x,y,z) -> Trans_Rotate(angle,-y,z,-x) or Trans_Rotate(-angle,y,-z,x);
Trans_Scale(x,y,z) -> Trans_Scale(y,z,x);
Reply
Up Topic Development / Developer's Corner / AttachTransformation changes

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill