Fighting Gravity

K. Santos

Well-known member
Ok, so, I keep seeing these lovely pictures on armaholic showing furnished rooms and organized table tops... But whenever I try to place things on tables they just fall right through or dip down under the surface. I tried using the 2D editor by tweeking the object elevation as well as trying to place them in zeus. Same result each time... Is there a code or script or anything I can enter when I place an object to deacivate gravity on it?
 
Important to note that the link the SSG supplied is for multiplayer, if you're doing this for a SP scenario you'll need to use this instead.

If you wanted to disable simulation on a laptop to sit ontop of a table for example, and you named it (Something like laptop_1), it'll look like this in the unit's init line;

Code:
laptop_1 enableSimulationGlobal false;

Edit: If I remember correctly, 'this' doesn't work in MP scenarios, so don't use that.
 
Ok, well, here's another gravity defying question... I'm trying to place objects on top of tables. The tables are in buildings that are on "terraces" on hillsides. So the world below it's X axis is slanted... Which makes the objects slanted... How can I zero that out so the object is just level?

FFDB6F98C7E3FB1375FE0EA98C4019DA80CAD488
 
Alternatively you can try this to set it's vector up

https://community.bistudio.com/wiki/setVectorDirAndUp

Attachto might work best though.
 
Back
Top