Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Camera Tool not working with Code created objects on Canvas

Guru ,
Sep 28, 2017 Sep 28, 2017

Is there a workaround to use the camera with code created objects?

I wrote some scripts to manipulate the camera, and it works fine with all display objects that are on stage from the start of the application.

But when I later add objects via code , the camera ignores these objects, they remain static. Any solution for this problem?

418
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Sep 28, 2017 Sep 28, 2017

You could put a symbol on the stage that acts as a container, and then add objects to that, instead of to the stage directly.

Translate
Contributor ,
Sep 28, 2017 Sep 28, 2017

You could put a symbol on the stage that acts as a container, and then add objects to that, instead of to the stage directly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 29, 2017 Sep 29, 2017
LATEST

Good thinking, this works as expected. Thanks a lot.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines