OnDrawGizmos not correct placement

public void OnDrawGizmos()
	Gizmos.DrawWireCube(transform.position, new Vector3(width, height,0));

Problem with the drawcube, what am i doing wrong? Its out of alignment, and i cant move it because that moves the positions with it.

is this an okay fix? or will it give me issues, im a bit clueless :slight_smile:

It looks like you started with an enemy formation game object that wasn’t reset to the origin, so you will probably have to reset it and move your positions back to where they should be

ahh thanks sebastian, this would make sense. im new to unity, and its all a bit complex :smiley:

No problem :wink:

Privacy & Terms