|
I am trying to read XML which contains a tag for player position of type Vector3. Cant find how to convert String to Vector3
(comments are locked)
|
|
well found d answer . can happen by first converting string to float
(comments are locked)
|

How is the string formatted? Obviously you need to use some kind of parse method, but it depends entirely on the format of the original string.
It also depends on how you read / parse your xml data. Do you use any xml library?
It would also help to actually post the piece of xml which shows your format.
Personally i would encode a Vector3 like this:
Feel free to edit your question.