Playmaker Forum
PlayMaker Feedback => Feature Requests => Topic started by: markinjapan on October 02, 2011, 08:42:08 PM
-
As a way of debugging my game I need to display Vector3 via GUIText. But currently you have to:
Get Vector3 XYZ
Make float variables for each X, Y, Z
Convert each float into a string (so another 3 strings)
Then Build String using those strings & put it in the Guitext
Would be nice if the Set Guitext (and other similar actions) had a 'Show Vector3 as string' field, or 'append Vector3 to this String', so I can output something like 'Current Vector is 2,2,2'
Or failing that, a 'Convert Vector3 to String' :)
Thanks
-
A Convert Vector3 To String action should be very quick to make. I'll try to find some time to knock that out and post it...
In the long run though I'm hoping to add more automatic casting to Playmaker to avoid manual conversion. So, for example, SetGUIText could take any variable, converting to string as necessary...
-
Hi,
Here we go. I made a simple action to create a string from a vector3.
http://hutonggames.com/playmakerforum/index.php?topic=921.0 (http://hutonggames.com/playmakerforum/index.php?topic=921.0)
Bye,
Jean