Miorey / wow-model-viewer

A library for displaying interactive 3D models of World of Warcraft characters, items, and NPCs on your website using data from Wowhead. Customize the display with control over camera angles and animation.
https://miorey.github.io/wow-model-viewer/
57 stars 32 forks source link

Zoom #6

Closed query-wow closed 2 years ago

query-wow commented 2 years ago

Hi, great lib, thank you a lot for sharing it!

Is is possible to disable the zoom function from the model viewer?

Miorey commented 2 years ago

Hi @query-wow , currently not but you can trick it by adding an empty div over your model. But in this case you will not be able to change the position. You have an example on my server https://wotlk.murlocvillage.com/fr/shop/ on the bottom of the page in the Miroir, Ô mon beau miroir section.

In the next version I will add changing position / changing translation option.

query-wow commented 2 years ago

@Miorey thanks for the reply! that's a smart idea actually. I don't think i mind losing that functionality :D i'll be on the look for more updates. Thanks for developing this!