This is a modified schrodinger's example:
Please login to see this attachment.
As you can see, the offset is off and I have forgotten completely the math to make it right. I did figure it out before and lost my nice example sadly.
But I am mostly interested in understanding the exact math, and what each part does.
1. Find radius of the object by getting the distance from the object overlapping to the overlapped object's X and Y multiplied by 1.0?
2. get the angle the same way, from and to.
not sure what these do:
+ ( Cos(angle_to_obj( "Carried Object" ) - Angle( "Big Object" )) * radius( "Carried Object" ) )
+ ( Sin(angle_to_obj( "Carried Object" ) - Angle( "Big Object" )) * radius( "Carried Object" ) )
would be nice to get a small explanation as to what values or formula I require to get the correction in angle and rotation to match up with relative position as exact as possible, as its misaligned and I'm not sure what to look for...
anyone got any recommendations for game development math books/trigonometry 101?
thanks...........