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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When positioning an object in
THREE.jsit gets positioned from its center.To make its bottom align with the plane where
yequals0, you'll need to position it with ayvalue with half its height.There is an issue related to this on the
THREE.jsrepo hereI was wondering if there could be a
dreihelper that could help with pivoting an object by giving it a "transform-origin"I've created an example on codesandbox
Beta Was this translation helpful? Give feedback.
All reactions