playMaker

Author Topic: Higher precision in Debug Variable Values view  (Read 2948 times)

Tricky_Widget

  • Junior Playmaker
  • **
  • Posts: 62
Higher precision in Debug Variable Values view
« on: March 30, 2015, 10:57:48 AM »
When using the "Debug Variable Values" view in the Variables tab of an FSM, currently some values are rounded to the nearest tenth.  I regularly use values set to the hundredths, so this makes the view less useful.

For example, I have a Vector3 attackDestination set to 0.0, -0.56, -2.0.  But in the variables list it displays as 0.0, -0.6, -2.0.

There is plenty of room to display two decimal places, or even three or four.  It would be great if it did.  :)

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Higher precision in Debug Variable Values view
« Reply #1 on: March 31, 2015, 01:52:21 AM »
Hi,

 This is a problem indeed.

 You can format your float using float to string, and define a much higher precision, and then you debug this formatted value.

 Bye,

 Jean