Script to bring to front or send to back
3 posts • Page 1 of 1
Script to bring to front or send to back
Hey y'all. I created a script to add circles with tracers, but tracers always appear in front of circle. I tried setting the Zdepth but it doesn't change the appearance. Is there script that mimics "selection->move selected object to front"? Any help is appreciated. Thanks.
- keithg1229
- Posts: 3
- Joined: Mon Dec 21, 2015 2:19 am
Re: Script to bring to front or send to back
There is a way to change zDepth of an object, but the method is very tricky and may not work for all scenes because the process requires using a sequence of "undo's" and "redo's". (I can see the puzzled look on your face! ). In Algodoo, many features and attributes can easily be changed simply by changing the value of a variable or event. But some, like zDepth, were not designed to be easily changed, and so some of us dedicated Algodoo users had to figure out work-arounds for them.
Some time ago I created a scene which demonstrates how the zDepth of an object can be changed on-the-fly, and you can upload it here:
http://www.algodoo.com/algobox/details.php?id=149641
Some time ago I created a scene which demonstrates how the zDepth of an object can be changed on-the-fly, and you can upload it here:
http://www.algodoo.com/algobox/details.php?id=149641
-
Xray - Posts: 500
- Joined: Sun Jun 17, 2012 6:12 am
- Location: USA
Re: Script to bring to front or send to back
Much appreciated, I will check it out. Thanks!
- keithg1229
- Posts: 3
- Joined: Mon Dec 21, 2015 2:19 am
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests