Jump to content

Assigning value to Abstractmesh._worldMatrix.m does not work with latest versions after babylonjs 2.5


mkaouri
 Share

Recommended Posts

Hi there,

After babylonjs v2.5 the assignment of _worldMatrix.m for an AbstractMesh doens't work.

For instance, myabstractmesh._worldMatrix.m = myMatrixValue. 

Any alternative solution of this assignment with the latest versions of BabylonJs.

 

Thanks..

mkaouri

Link to comment
Share on other sites

Hello, as a rule of thumb you should not touch something starting with _

But let's say we want to hack :)

Can you repro on the PG ? Changing the WM is complex because it will be rewritten on every frame (unless you freeze the mesh)

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...