playMaker

Author Topic: convert string -203.03,108.55,-175.82 to V3?  (Read 72 times)

westingtyler

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • My Oculus Rift + Touch VR Game Using Playmaker
convert string -203.03,108.55,-175.82 to V3?
« on: June 12, 2018, 10:24:50 PM »
UPDATE: haha. I just found the action Split to Strings, which does most of this work. Not Split String, but Split to Strings.

Hello. I have a series of strings in the format -203.03,108.55,-175.82

and i want to easily convert them into a v3: x, y, z, using the commas as separators then discarding them.

the Split String command ALMOST does this, except it only gets the first two, the X and Y, and seem to discard everything pas the second comma.

a Split String with one extra output would also serve this purpose, but it would be nice to skip right to a v3.
« Last Edit: June 12, 2018, 10:27:10 PM by westingtyler »