Browse Search Popular Register Upload Rules User list Login:
Search:
zDepth Change Demo

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 438.74 kB

Date added: 2017-01-01

Rating: 5

Downloads: 445

Views: 190

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

No tricks.... No gimmicks.... This is just a way to truly change the zDepth of an object.

For those not familiar with zDepth, it's a value in the script menus of all geometries that causes the relative placement of the objects to be in front of or behind other objects in the scene.

Comments? Suggestions? Kudos? :)
Please log in to rate this scene
edit
Similar scenes
Title: ZDepth Change 2.5
Rating: 5
Filesize: 7.32 kB
Downloads: 231
Comments: 7
Ratings: 1
Date added: 2014/04/13 12:20:12
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: MapGenerator*DEMO
Rating: 6.8182
Filesize: 65.68 kB
Downloads: 618
Comments: 2
Ratings: 5
Date added: 2015/10/16 23:00:08
Made with: Algodoo v2.1.0
Rating: rated 6.8
download
Title: Navi radar (700m pototype)
Rating: 7.8823
Filesize: 25.14 kB
Downloads: 1927
Comments: 8
Ratings: 11
Date added: 2010/12/05 21:25:14
Made with: Algodoo before v1.8.5
Rating: rated 7.9
download
Title: SWAT-demo
Rating: 6.7692
Filesize: 4.83 MB
Downloads: 6441
Comments: 5
Ratings: 7
Date added: 2009/12/07 13:17:30
Made with: Algodoo before v1.8.5
Rating: rated 6.8
download
Title: John Deere 5420 tractor with loader and backhoe
Rating: 7.0834
Filesize: 218.68 kB
Downloads: 2986
Comments: 10
Ratings: 6
Date added: 2010/06/04 03:15:26
Made with: Phun
Rating: rated 7.1
download
Title: Compact 5-gear+R Gearbox
Rating: 5.625
Filesize: 34.09 kB
Downloads: 596
Comments: 6
Ratings: 2
Date added: 2017/06/28 02:54:24
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
ZDepth Change 2.5 s_noonan 5 (1 vote) 231 7 2014/04/13 12:20:12
show grid
Yeah we've talked about that with Gent some time ago. I also noticed that if you changed the zDepth of an object and then deleted another object (or spawned and deleted, doesn't matter) the same effect was achieved. I never tried killing an object in any way for this. Can you give it a try? I think this could be pretty useful in the future
True, we did discuss this issue a lot some time ago, and as you can see from observing other scenes by me, s_noonan, and I think maybe kilinich, there were many different ideas for doing it. The way that I did it in this scene (using undo and redo) seems to work, but it has not been thoroughly tested under various conditions to see if there are undesirable side-effects. I plan on testing it some more, and also trying the ideas that you mentioned.

My idea does have one noticable side effect, and that is, the scene sort of "hiccups" for a split second when either laser gets hit. I don't know yet if that hiccup will cause other undesirable effects, but that's where extensive testing would wring those things out.
That's the point. I don't remember why I needed to change zDepth but I guess it was for a firearm, and the time that the scene freezes when undoing-redoing is too noticeable
The Linkage,

I tried changing the zdepth and then creating and deleting another object and it didn't work. Maybe you should have tried it yourself before suggesting somebody else try it. If I'm wrong, and it does work, then please make a response scene to this one that demonstrates the effect.
You have to delete the object yourself, with the Delete key or the backspace. It does work, but it isn't very practical since you can't trigger that without the user deleting something

Yesterday I tried killing an object with density = 0, a killer, and removeEntity, but none worked, the only way to get the object with the changed zDepth to update its position was to delete another object or undo. Also changing an object's zDepth and then using shift+mousewheel on another object resets the zDepth of the first, as if it wasn't changed in the first place.