Hello again. I added a bit of complexity to this code where parts can have offsets (if a tab or switch is flipped it adds to the pan/tilt/roll). So imagine a PC Desktop that has parts in it. As the user moves the PC desktop around the game, the internal objects follow with it. I added some code so that certain tabs / switches can be adjusted, but still has to follow the "arcade_Case" but with the pan/tilt/roll offset. When I run this code below, it seems to semi work. When any data is in the StartxxxOffset the items react, but only from a world perspective, not based upon the object access. I attempted to use ang_add() but it didn't give me the results I was looking for.
This example only works if the PC Desktop is in the original position at the start of the game, otherwise the tabs / switches get out of sync.
//me = tab or switch that follows arcade_Case
my.pan += my.StartPanOffset;
my.tilt += my.StartTiltOffset;
my.roll += my.StartRollOffset;
I am going to keep working on it but open for some help.