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
Considering you want to translate an object in one or more of it's axes a concrete number of units, the movement of an object should accept translation in world coords, exactly the same we can do it with a full world position. There's a method for translation but only accepts LngLat values tb.set({options: "translate", ...}).
We could have a new option in tb.set({options: "worldTranslate", ...}) that accepst a Vector3 (to be consistant with world positions), that will translate the object in each one of the axes.
The text was updated successfully, but these errors were encountered:
Considering you want to translate an object in one or more of it's axes a concrete number of units, the movement of an object should accept translation in world coords, exactly the same we can do it with a full world position. There's a method for translation but only accepts LngLat values
tb.set({options: "translate", ...})
.We could have a new option in
tb.set({options: "worldTranslate", ...})
that accepst a Vector3 (to be consistant with world positions), that will translate the object in each one of the axes.The text was updated successfully, but these errors were encountered: