Print at Dec 16, 2025, 2:26:36 PM
Posted by pixelflub at May 28, 2019, 8:35:05 PM
items jump on top of structure when moving them
Hello,

I have this tunnel structure from someone here on the forum, so it's not a collection item. When I move the green box the slightest bit on the floor plan, it jumps to the top of the tunnel. Every time I move it I have to set "height above ground" to 0 again. It seems the tunnel's bottom does not serve as a proper ground. Drawing a room around it did not help. Any way to fix this?

https://pasteboard.co/IgPGeIO.png



Posted by hansmex at May 28, 2019, 8:48:27 PM
Re: items jump on top of structure when moving them
In Preferences disable Magnetism.
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by alaX at May 29, 2019, 5:19:31 PM
Re: items jump on top of structure when moving them
You should specify "dropOnTopElevation" (value 0 or -1). Create library of your model and edit PluginFurnitureCatalog.properties or edit Home.xml (part of sh3d file). Library(sh3f) and project (sh3d) are zip archives - use any zip tool to extract and add files.

PluginFurnitureCatalog.properties example:
name#1=tunnel 1
category#1=Miscellaneous
icon#1=/tunnel.png
model#1=/tunnel.obj
width#1=530
depth#1=500
height#1=464.6
movable#1=true
doorOrWindow#1=false
dropOnTopElevation#1=0


Home.xml example:
(...)
<pieceOfFurniture name='tunnel 1' model='1' icon='0' x='824.36365' y='827.7524' width='530.0' depth='500.0' height='464.6' modelSize='19620' dropOnTopElevation='0.0' >
(...)