Not logged inOpenClonk Forum
Up Topic AttachTransformation changes

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Clonk-Karl
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);

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill