- Home /
How to move an object relative to the screen size in animation
I have animation for object. This object must move for Screen.width/3 to left or right from start position. It should work on different Screen resolutions (for example 1280x720 and 1920*1080, etc). Can anybody help to resolve this problem?
Answer by FortisVenaliter · Aug 31, 2017 at 09:33 PM
As far as I know, you can't specify relative units in the animations themselves... What I would recommend would be to do a static animation, but then scale the object's parent to match your screen size.
Yes it`s work. Also if set anchor presets then can move object realtive.
Your answer

Follow this Question
Related Questions
Issue with mecanim playing an animation using setbool 1 Answer
Imported Blender Animations not Working 2 Answers
Can I Use Multiple Models In One Main Model? 0 Answers
Unity Mechanim playing default layer state animation when gameObject is duplicated in the scene 0 Answers
Mecanim Example Scenes import warnings. 0 Answers