Gunship's engine doesn't stick with player when moving

Whenever I move, the engine goes ahead and doesn’t stick with the gunship. I made the prefab a child of the player, not sure what to do here.

5927441--633782--sdfsdf.PNG

Well, there isn’t much to go on here, but my guess is your engine has a separate movement script to the player and is getting the combined effect of both movements since it is a child.

No that’s not it. I simply dragged and dropped the particles onto the player object. Is there anything I should send?

A picture of the objects in questions setup and any script that controls movement (in appropriately code tags when posted) would be a good start.

Player controller script, inspector for the player and my gameobjects

5930363--634247--u1.PNG
5930363--634250--u2.PNG
5930363--634253--u3.PNG

Nothing stands out to me so far, but not seeing the full script (although don’t think it would matter). Is there any script on the engines themselves?

Okay I’m thinking here?

5932778--634613--this.PNG
5932778--634616--this2.PNG

Maybe try turning on inherit velocity? If that doesn’t work I would just try to play around with all the settings until it works out.

Does the engine object have it’s own Rigidbody2D/Rigidbody?

No it does not.

Okay so I have no idea what I did, but I was messing around with the z axis because some sprites weren’t showing during game view. After fixing it, the flair now sticks to the gunship…yeah idk but glad it works.

I think I ran into something that might explain it. I had a inadvertent z on one of my vectors and I was normalizing said vector. However, even though z is ignored for the movement, it doesn’t get ignored in the normalize and was suppressing the x and y. Not sure that is what you ran into, but if you have some vector3 math going on it could be the different z’s were having a similar unexpected effect.

Another thought hit me, it could be a camera mode issue. I would think you would notice in other ways, but it is possible it is still giving you some perspective in 3D and even though the position info is the same, the camera could display them at different positions due to the mode. Might want to check your camera settings if this sort of issue pops up again.