Jump to content

Where is the Editor section on the FEATURES TESTS


Dad72
 Share

Recommended Posts

On the site I can not find the demo "Editor" in the section FEATURES TESTS

 

and since the latest version of Babylon, this no longer works.

switchObjects[nameObjetSelected].vecDistanceCameraMesh = switchObjects[nameObjetSelected].pickedPoint.subtract(switchObjects[nameObjetSelected].camera.position);
subtract() this tells me that is not a function. it always works before. I think there must be a bug.
 
Thank You
Link to comment
Share on other sites

Oh ok. are you planning to rewrite similar functionality?

 

Edite:

 

fixe the problem:

var operation = new BABYLON.Vector3(parseFloat(switchObjects[nameObjetSelected].pickedPoint.x), parseFloat(switchObjects[nameObjetSelected].pickedPoint.y), parseFloat(switchObjects[nameObjetSelected].pickedPoint.z));switchObjects[nameObjetSelected].vecDistanceCameraMesh = operation.subtract(switchObjects[nameObjetSelected].camera.position);
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...