I have a
pShield that is a shield that will rotate around my player based on where the position of the mouse is relative to the player.
Currently I have
pShield successfully rotating around from the center of the player to face the mouse cursor. What I want to do next is to move the pShield out from the center of the player to about 3 or 4 units away from the center. If I do this each frame, it’ll look exactly how I want it to…
This is what I’ve tried so far to not only no avail, but also no effect at all!
pShield.transform.Translate(Vector3.forward * 4f, Space.World);
pShield.transform.position += pShield.transform.forward * 4f