MadNuttah Posted December 16, 2010 Share Posted December 16, 2010 Hello fellow modders, I use a script, which places an object into the game. If the actor's body is tilted, the placed object gets the same tilted angle as the actor's body. How can I place an object even ground after placeatme'ing and getting/setting the position (set posx to player.getposx, etc.) Is there an algorithm which makes sure the object is placed even ground? Many thanks in advance! MadNuttah Link to comment Share on other sites More sharing options...
rickerhk Posted December 16, 2010 Share Posted December 16, 2010 Try using SetAngle to set the X and Y angles. http://geck.bethsoft.com/index.php/SetAngleI think the angle values that you need to use depends on the Nif file of the object that you are rotating, because every Nif has it's own set of axes too. Link to comment Share on other sites More sharing options...
MadNuttah Posted December 17, 2010 Author Share Posted December 17, 2010 Thanks again, I'll try that out. Trial and error in the game after altering something in the GECK is such a pain... Link to comment Share on other sites More sharing options...
Recommended Posts