Devastator_cm 434 Posted September 27, 2016 Hi Guys, EDEN not supposed to bring the possibility to put items easily on top of others, i.e. tables, shelves etc?Each and every time the objects are falling down or getting half sank into the surface.. How do you handle this? I am tired to find the coordinations manually by setpos by try and error... Share this post Link to post Share on other sites
Mynock 244 Posted September 27, 2016 The simplest way I can think of is to disable the simulation for the objects on the table and possibly for the table itself if required. However, the downside of this is the objects will no longer react to the environment, so if for example the table is inside a building and the building is destroyed during combat, the objects will float in mid air. There are ways around that though as well, but require a little scripting and extra effort. Share this post Link to post Share on other sites
Tajin 349 Posted September 28, 2016 You can use this snippet and put it into the object on the table: this attachTo [table, table worldToModel (getPosATL this)]; Just replace "table" with the referencename of your table. Share this post Link to post Share on other sites
Greenfist 1863 Posted September 28, 2016 Or: [this, yourTable] call BIS_fnc_attachToRelative if you want to keep the object's orientation. Share this post Link to post Share on other sites
Tajin 349 Posted September 28, 2016 Seems to be pretty much the same thing. I'm not good at remembering all those BIS functions. :rolleyes: Share this post Link to post Share on other sites
Greenfist 1863 Posted September 28, 2016 Seems to be pretty much the same thing. I'm not good at remembering all those BIS functions. :rolleyes: But doesn't attaching reset the objects direction to match the table? I can't remember. Share this post Link to post Share on other sites
R3vo 2654 Posted September 28, 2016 Disable Simulation does not work for objects with variable names. Keep that in mind. Share this post Link to post Share on other sites
Devastator_cm 434 Posted September 28, 2016 Thanks million times guys.I will check those proposals Share this post Link to post Share on other sites
h - 169 Posted September 30, 2016 Isn't this pretty pathetic that we have this 3D editor but still all kinds of scripted shenanigans are needed to have objects on surfaces.. 1 Share this post Link to post Share on other sites
Devastator_cm 434 Posted September 30, 2016 I also thought 3d editor would handle such things properly but unfortunately not.. 1 Share this post Link to post Share on other sites
R3vo 2654 Posted October 1, 2016 Well, doesn't have much to do with Eden but rather the clunky engine physix. However, I believe the devs are working on an integration of the attachTo command, so hopefully in the future, things like that can be done without scripting. Share this post Link to post Share on other sites
Devastator_cm 434 Posted November 6, 2016 Is there a way to un attach the objects? :/I used BIS_fnc_attachToRelative to put some boxes on truck but now I am not able to move them on flor with setpos command where player can cary them as they want Share this post Link to post Share on other sites
R3vo 2654 Posted November 6, 2016 https://community.bistudio.com/wiki/detach Share this post Link to post Share on other sites
Devastator_cm 434 Posted December 2, 2016 I reply a bit late but I mean actually detach for [this, yourTable] call BIS_fnc_attachToRelative (this one worked perfectly for my case) Share this post Link to post Share on other sites