i declared
public Vector3 floorPosition;
in class. In start function i given
floorPosition = new Vector3(0.000f,0.500f,-8.250f);
i tried to instantiate a gameobject in floorPosition.
But object comes in (0.0, 0.5, -8.3).
Automatically it get rounds.
What i have to do to get gameobject in exact position.
Thanks in Advance
The weird thing is that if you type
The inspector will show the exact position you asked for (so I think you object is actually in the right spot) but the Debug.Log() will round it.