Hi!
QUESTION: How to scale up a tree from the roots, not the center origin?
Here is a PG showing attempts for box to “grow” from sphere
could animate position and scale at the same time, but is there a better way to scale from a pivot?
Thanks,
Hi!
QUESTION: How to scale up a tree from the roots, not the center origin?
Here is a PG showing attempts for box to “grow” from sphere
could animate position and scale at the same time, but is there a better way to scale from a pivot?
Thanks,
I usually prefer to use a parent object as a pivot point.
See https://www.babylonjs-playground.com/#1ZK5I9#9
You can set the second argument of setPivotPoint to BABYLON.Space.WORLD:
https://www.babylonjs-playground.com/#1ZK5I9#10
Here is an alternative https://www.babylonjs-playground.com/#1ZK5I9#11
Method
Interesting… like!