script for returning the coordinates

Hello, guys!

I need a script for returning the coordinates. It should always be 0 after coma (integer).

AttachmentSize
untitled-7.jpg327.06 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
das_exp's picture

Thanx!

Thanx!

TsveTan's picture

^

original = $.pos -- at first select the object
$.pos = [original.x as integer,original.y as integer,original.z as integer]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.