R2 Studio
|
R2 Studio
Posted 2 Years Ago
|
Group: Forum Members
Last Active: 2 Months Ago
Posts: 59,
Visits: 375
|
Get the location of the current camera (either a camera or the preview camera) and store its x,y,z location in variables. Get the name or id of a selected object Relocate the selected object to the x,y,z location stored in the variables.
So it's a "pick object and bring it to my location" script.
--Ray
|
4u2ges
|
4u2ges
Posted 2 Years Ago
|
Group: Forum Members
Last Active: Yesterday
Posts: 5.0K,
Visits: 15.9K
|
You can sort of do that already. But you have to find target camera with other camera first. And this does not work for Preview camera and also Preview Camera cannot be referenced in Python API I think.
|
Group: Forum Members
Last Active: 2 days ago
Posts: 5.7K,
Visits: 26.4K
|
As 4u2ges mentioned. the Preview Camera doesn't show in either the Scene tab or in the Timeline object menu and can't be referenced in a script.
Gerry
System: Win 10 Pro (21H2), Asus X99-E WS, CPU i7-5930K -3,5 GHz, 32 GB DDR4 2666-16 RAM, NVidia GTX 1080 Ti GPU - 11 GB VRAM(Driver Studio-536.99), Samsung 850 Pro 512 GB SSD, 6 TB HD storage.
|