Author Topic: Fighting Gravity  (Read 5487 times)

K. Santos

  • Posts: 607
Fighting Gravity
« on: November 02, 2015, 12:12:03 PM »
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?

SSG (Ret) Atkinson

  • 68W3O Health Care Specialist
  • Retired
  • Posts: 277
Re: Fighting Gravity
« Reply #1 on: November 02, 2015, 12:16:04 PM »
N. ATKINSON
SSG, USA
Retired


K. Santos

  • Posts: 607
Re: Fighting Gravity
« Reply #2 on: November 02, 2015, 12:37:47 PM »
I'm still learning the ways of the force, does this get put in the "init" line of the object in editor?

Waller

  • Posts: 921
Re: Fighting Gravity
« Reply #3 on: November 02, 2015, 12:44:07 PM »
I'm still learning the ways of the force, [...]

You have much to learn my young padawan.

Maple

  • Posts: 161
Re: Fighting Gravity
« Reply #4 on: November 02, 2015, 12:51:57 PM »
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: [Select]
laptop_1 enableSimulationGlobal false;
Edit: If I remember correctly, 'this' doesn't work in MP scenarios, so don't use that.
« Last Edit: November 02, 2015, 01:00:12 PM by PFC Wilde »

K. Santos

  • Posts: 607
Re: Fighting Gravity
« Reply #5 on: November 15, 2015, 05:17:47 PM »
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?


C. Scott

  • Posts: 65
Re: Fighting Gravity
« Reply #6 on: November 15, 2015, 05:20:52 PM »

SSG (Ret) Atkinson

  • 68W3O Health Care Specialist
  • Retired
  • Posts: 277
Re: Fighting Gravity
« Reply #7 on: November 15, 2015, 05:26:39 PM »
Alternatively you can try this to set it's vector up

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

Attachto might work best though.
N. ATKINSON
SSG, USA
Retired