http://imageshack.us.../problem2o.png/
Problem is the pallet and the fork are not aligned. I have used the fork->pframefirstchild = pallet_frame; equating fork->matCombined = palllet->matCombined; Still off by a little bit. Is it the artwork problem? Thanks Jack
Shall I assume you are asking about parenting an object under another object?
The forklift should be the parent of the crate?
Each object should have two types of transforms: local and world. When you update the transform on any given object, you are always updating its local.
At the end of each frame, world transforms need to be generated by having each object send its world transform down to its children.
Children create their world transforms by multiplying first by their own local transforms, then by the world transform given to them by their parents.
If you want to check if this is an art problem, set the transform of the crate to a specific place and see if it actually is at that place as you expect. Or open the source file for the art in Maya or 3D Studio Max (or whatever).
L. Spiro
I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid