instantiate with a transform on the axis

Hey guys,
I am new at this and can instantiate but i cant seem to find a way to rotate it. I’m guessing it is the Quaternion but i cant seem to get it right. Can someone help?

Thanks lots.
CP

var three = Instantiate(three, Vector3 (-1.9, 2, 1), Quaternion.identity);

transform.rotation = Quaternion.AngleAxis(90, Vector3.up);

You could make an existing Game Object at the rotation you’re aiming for, and reference it in your script like, for example, “var transformHelper : Transform”.

Then drag the object into the slot in the inspector.

Then instead of Quaternion.identity in your Instantiate use transformHelper.rotation.