You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if I missed it, I noticed you can use getPosition and getRotationQuaternion to get the position and rotation information, but how can I get the scaling ones?
What I want is to know the changed values in registered action listeners, since the only argument for the listener is the action type, so I have to get the values by other functions, am I right?
The text was updated successfully, but these errors were encountered:
@kllilizxc
getPosition and getRotationQuaternion provides the position and rotation information about the edit control not the mesh to which the edit control is "attached". Because the scale of the edit control does not change there is no getScale method . You can of course check the scale of the mesh directly by using standard babylonjs API to get it scale. So use the action listener to find if the scale changed then query the mesh to get the scale.
Sorry if I missed it, I noticed you can use getPosition and getRotationQuaternion to get the position and rotation information, but how can I get the scaling ones?
What I want is to know the changed values in registered action listeners, since the only argument for the listener is the action type, so I have to get the values by other functions, am I right?
The text was updated successfully, but these errors were encountered: