Jump to content
Tory Xiao

How to copy rotation information of compositons in 3den editor?

Recommended Posts

I tried 3den Enhanced mod but it only provides the function of copying the array of positions and classname of each component in the composition, no rotation info

Share this post


Link to post
Share on other sites

I did not find an easy solution but you could use the debug console (in "Tools" menu or shortcut Ctrl + D ) for it.

 

First select the object what you need the rotation of. Then open debug console and paste this in it:

copyToClipboard str (  get3DENSelected "object" select 0 get3DENAttribute "rotation" );

Press "Local Exec" or just hit Enter key and the rotation is in your clipboard.

  • Like 3

Share this post


Link to post
Share on other sites
9 hours ago, sarogahtyp said:

I did not find an easy solution but you could use the debug console (in "Tools" menu or shortcut Ctrl + D ) for it.

 

First select the object what you need the rotation of. Then open debug console and paste this in it:


copyToClipboard str (  get3DENSelected "object" select 0 get3DENAttribute "rotation" );

Press "Local Exec" or just hit Enter key and the rotation is in your clipboard.

But it seems still only 1 rotation gets copied not the whole array 

Share this post


Link to post
Share on other sites

i could swear it was the whole array when i tested it.

Will take a look at it tomorrow

  • Like 1

Share this post


Link to post
Share on other sites
_output = [];
{
	_output pushBack [
		typeOf _x, 
		_x get3DENAttribute "position" select 0,
		_x get3DENAttribute "rotation" select 0
	];
}forEach get3DENSelected "object";
copyToClipboard str _output;

 

  • Like 3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×