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
{{ message }}
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
This scale comes into play most prominently with cards. Basically depending on the aspect ratio of your cards you'll have a different "object transform scale". However, by default, your cards will always report getScale() as Vector(1, 1, 1).
This scale particularly comes into play when you're trying to accurately convert from known pixel coordinates on your cards to in-game coordinates, say if you're trying to place a decal in a precise location on a card face.
Honestly, I'm not even sure how to properly document this without confusing people further, but it really is important in certain situations.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Was just helping a user out on Discord regarding the fact that there's a hidden scale in TTS that's presently not exposed via any UI or any Lua APIs.
However, you can obtain this scale as follows:
This scale comes into play most prominently with cards. Basically depending on the aspect ratio of your cards you'll have a different "object transform scale". However, by default, your cards will always report
getScale()
asVector(1, 1, 1)
.This scale particularly comes into play when you're trying to accurately convert from known pixel coordinates on your cards to in-game coordinates, say if you're trying to place a decal in a precise location on a card face.
Honestly, I'm not even sure how to properly document this without confusing people further, but it really is important in certain situations.
The text was updated successfully, but these errors were encountered: