You are not logged in.

philkrom

Beginner

  • "philkrom" started this thread

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

1

Tuesday, April 5th 2016, 11:20am

How to tween scale with keeping the bottom center position ?

Little bit more explanations : using a marker like this one, the bottom pointing on a location.




I make this action : onover="tween(scale,1.5);"
Works well, but scale origin is top center, so the bottom of the marker moves.
I would prefer scale origin to be bottom center, so the marker keeps pointing to the same place.



Sure it is very easy, but I can't find how *sad*


Hope you can help !
Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Tuesday, April 5th 2016, 11:29am

Hi)

Try to add

Source code

1
edge="bottom"
Regards,

Alexey