Search the Community
Showing results for tags 'pivot point'.
Found 3 results
hit2501 posted a topic in Questions & AnswersHi, I wonder if this is posible but dynamically in Babylon instead Blender: I can change the size of a mesh with some sliders and .scaling but this only works starting from the origin point. I tried Pivot Point but this seems to work the first time and then the mesh changes location (to pivot point) and the scaling continues working taking the new central point. Also I can find the coordinates for each vertex but I dont know how to move the origin point to that vertex. Is there any way to change the origin point to be able to scale starting from that point? Thank you.
Hi, Im pretty confused In the attached playground I create a sphere at (0,0,0). Then I change the pivot point to (0,-5,0) (the bottom of the sphere). At this point the absolute position of the sphere is still (0,0,0). However, when do setAbsolutePosition(0,0,0) I would expect no change. But the absolute position changes to (0,5,0). Why is this happening? https://playground.babylonjs.com/#RTE4BS#6 Thanks!