Grinman 0 Posted July 22, 2007 Hi guys In a mission I'm working on I have some quite heavy sandbag bunkers and whatnot, but what I want to to know is can I turn something from the editor update (say, a fence) to be flat? Like, from | to _ A snippet of code for the init line would be perfect, lol Share this post Link to post Share on other sites
Cloughy 0 Posted July 22, 2007 Think you need to look at the setVectorUp command, thats how you would straighten a leaning wall. It takes a 3d array, so you should be able to tip over a wall/fence. Cheers GC Share this post Link to post Share on other sites
ManDay 0 Posted July 22, 2007 SetVectorUp[ 0,1,0 ]; SetVectorDir[ 0,0,-1 ]; Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 22, 2007 Chances are you'll also need to adjust the height of the object as well, so remember to use setPos before using setVectorDir/Up (because setPos resets their orientation). Share this post Link to post Share on other sites
Grinman 0 Posted July 24, 2007 Edit: Never mind, I got it to work! Share this post Link to post Share on other sites