Comments (1)
@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.
from babylonjs-editcontrol.
Related Issues (20)
- Scale and Trans bounds HOT 9
- Scale bounds behaves erratically when min bound is set to zero HOT 1
- Implement Rotation Bounds
- right hand coordinate system issue HOT 1
- scaling of planes, 2d object fails HOT 1
- scaling in all three axis together not uniform HOT 1
- right hand object in left hand system issue HOT 1
- setTransSnap (true) does not work if we do not add setTransSnapValue () HOT 1
- translate and scalar planar guides should move to face camera HOT 1
- translation and scaling in "all/any" directions works erratically HOT 1
- scaling along plane not intuitive HOT 1
- parent/child issue HOT 1
- handle mesh with non uniformed scaled parent HOT 1
- scaling is slow when switching from a large mesh HOT 1
- editControl.setTransSnapValue doesn't work in sample-global HOT 1
- Different designs for TwoAxisDraggingButtons (triangles, rectangles)? HOT 1
- Editor tools interfering with bounding box + re-sizing when camera moves HOT 10
- Trouble compiling from typescript HOT 5
- Update during transform HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babylonjs-editcontrol.