Helloo!
I’m saving vector data into a text file. Rather than save out each coordinate item by item, I figured I could save out each vector instead… like,
sw.WriteLine (transform.position);
The resulting text file is cool, it’s in the form of:
(3.0, 10.1, -84.1)
(3.0, 10.1, -84.1)
etc…
Problem I have is how to translate this back into a Vector3 when it comes in as a line, since System.Convert (of course) doesn’t have a vector type.
Anybody got any ideas on how to go about this? Do I need to parse the string into x,y,z and re-construct the vector with the resulting float conversions?
Thanks in advance for help
Jeff.