Hi!
I've been working on setting up a Player object with multiple parts for a friend's project. I created a Player object in which the arms are separate from the player, and therefore can move independently of the Player. However, I ran into two huge issues that I cannot seem to fix. I am honestly frustrated.
You can check out the CAPX here.
( drive.google.com/open )
The First Issue
As you can see in the CAPX, I set the Sine Magnitude and Period to be exactly the same for each arm object, except one is negative and one is positive; depending on the side. However, for some strange reason every Player sprite created at any point farther along the X-Axis than the first created Player sprite, has the arms swing wildly despite the debugger showing them as having the same magnitude, period, and sine values. And I know it has to do with the X-Axis because I ran it the same with all of the objects having the same player number and it only triggers if the object it created farther to the right than the first.
The Second Issue
For whatever reason, the arm objects refuse to move in-front of or behind the Player sprite for any of the Player Objects that aren't the first one. No matter what, they're either both on top of the sprite or both underneath; and on the rare occasions where I get it to work, mirroring the Player Object messes it up again by moving both the arms behind the Player Object.
I seriously have no idea why these are happening, or have any idea to fix these. If someone could help me out with this issue, it would be greatly appreciated.