Jump to content

[SOLVED]Display rotation value rotating object


mecanicus
 Share

Recommended Posts

Hi M!

https://www.babylonjs-playground.com/#NRBSGY#6

(still broke but we know why, now.)

It seems that libelle.text NEEDS to be type String.  Interesting.

Disable line 36, and activate line 37, or 38, or 39.  :)

Your choice... it will start working...

https://www.babylonjs-playground.com/#NRBSGY#8

#8 activates line 37 ... adding a toFixed() call.  Working goooood.

http://www-db.deis.unibo.it/courses/TW/DOCS/w3schools/jsref/jsref_tofixed.asp.html

According to that... toFixed() converts number to string.  I did not know that.  EVERYONE learns new stuff... today.  :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...