Importing scale in Unreal

Importing scale in Unreal

josevidosavfx
Observer Observer
379 Views
5 Replies
Message 1 of 6

Importing scale in Unreal

josevidosavfx
Observer
Observer

Hello, I'm currently exporting a cache from Golaem, but when I import it into Unreal, it appears oversized. I'm fairly new to Golaem, so any advice would be appreciated.

0 Likes
380 Views
5 Replies
Replies (5)
Message 2 of 6

nicolas_chaverou
Community Manager
Community Manager

Hey there,

Please check the Golaem For Unreal FAQ here: 

https://help.autodesk.com/view/GOLM/ENU/?guid=glm_golaem-for-unreal-faq

Especially the following entry:

Characters are not at the right scale and / or flicker when replayed in the viewport



NICOLAS CHAVEROU
GOLAEM PRODUCT MANAGER
0 Likes
Message 3 of 6

william_bobant4TQVJ
Observer
Observer

Heya,

 

Sorry, I'm stuck at the same thing and I'm a bit confused: the doc states one needs to enter the following env variable:

 

:: Set Scene Unit (0 for millimeters, 1 for centimeters, 3 for meters, 4 for inches, 5 for feet)
set GLMCROWD_UNIT=3

But I can't find the right place to do so, as everything I do ends up with the same result in Unreal. Is it a Windows env variable? An Unreal Engine's? Something else?

 

Thanks!

 

0 Likes
Message 4 of 6

josevidosavfx
Observer
Observer

Hi William, I tried the same thing as you without success. Finally, I used meters in Golaem to get it working correctly in Unreal. Remember to rescale your environment correctly once imported into Maya. I'm sorry I can't help you more.
If anyone has a better solution, please share it. 🙂

0 Likes
Message 5 of 6

william_bobant4TQVJ
Observer
Observer

Hey! 

thanks for the heads-up! Sadly in this case I was already in meters 😞 I could always lower down the scale even more to match Unreal's but I'm sure there's a better and easier way to proceed

0 Likes
Message 6 of 6

nicolas_chaverou
Community Manager
Community Manager

The cleanest way is to use a launcher script / app to start a DCC

On my side I have a script (.bat) where i set a couple of env vars in before launching UE/Maya/Houdini... including the Unit and other things

This allows to be non invasive in my system and contain the environment variable to the execution of the DCC (when I close the DCC the envvar is removed)

 

Here's a sample of my script for UE

 

set GLMCROWD_UNIT=3
set UNREAL_LOCATION=C:\Program Files\Epic Games\UE_%UNREAL_VERSION%\
set UNREAL_EXE=Engine\Binaries\Win64\UnrealEditor.exe
::Launch
"%UNREAL_LOCATION%\%UNREAL_EXE%" "%GLM_INSTALL_PREFIX%\%GLM_PROJECT%"


NICOLAS CHAVEROU
GOLAEM PRODUCT MANAGER
0 Likes