0
Guru
,
/t5/animate-discussions/camera-tool-not-working-with-code-created-objects-on-canvas/td-p/9375368
Sep 28, 2017
Sep 28, 2017
Copy link to clipboard
Copied
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?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
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.
Contributor
,
/t5/animate-discussions/camera-tool-not-working-with-code-created-objects-on-canvas/m-p/9375369#M172425
Sep 28, 2017
Sep 28, 2017
Copy link to clipboard
Copied
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
moccamaximum
AUTHOR
Guru
,
LATEST
/t5/animate-discussions/camera-tool-not-working-with-code-created-objects-on-canvas/m-p/9375370#M172426
Sep 29, 2017
Sep 29, 2017
Copy link to clipboard
Copied
Good thinking, this works as expected. Thanks a lot.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

