Profile Picture

How do I get the current position of a prop?

Posted By Data Juggler 4 Years Ago
You don't have permission to rate!
Author
Message
Data Juggler
Data Juggler
Posted 4 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
Last night I wrote a 'Replicator' script that is kind of like Multi-Duplicate except you will be able to specify the direction to duplicate and things like Rows and Columns and even a random Scatter feature would be useful I think.

Right now I had to hard code the start position because I don't know how to get the current X, Y or Z movements for a prop (or character).

I will finish the GUI later today to let you specify direction and distances, rows and columns but this one thing I am stuck on.

Thanks for any help.

The code is on Git Hub: https://github.com/DataJuggler/PythonScripts/blob/main/ReplicateProps2Rows.py
(Edit: The code I pasted didn't look right, so you can view it on Git Hub).


Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png





Reading This Topic