HoudiniEngineForUnreal-v2
HoudiniEngineForUnreal-v2 copied to clipboard
set unreal_uproperty_MY_VAR not work correctely on instance
Hi,
i use point to instanciate cubes with some unreal_uproperty and he instanciate correctely, but the parameter are not copied correctely it's all messed up.
here a small video of the issue hope it's help you to fix that. Video Youtube Bug
Have Nice Day, Best Regards Daniel
Here my VEX Code:
int nearp[] ;
string inst = "Blueprint'/Game/UDIMU/City/Blueprints/Block_Buildings_1.Block_Buildings_1'";
string instTmp;
int numPoint = npoints(0);
for (int i = 0; i < numPoint ; i++){
nearp = nearpoints(0,point(0,"P", i),19);
vector col = point(0,"Cd", i);
int density = (len(nearp)*2) +5;
int blueprintID = floor( rand(i) * 4 ) + 1;
instTmp = re_replace("_1", concat("_", itoa(blueprintID)), inst);
setpointattrib(0,"unreal_uproperty_Floor",i,density,"set");
setpointattrib(0,"unreal_uproperty_Seed",i,i,"set");
setpointattrib(0,"unreal_uproperty_ColorGlowR",i,col.r,"set");
setpointattrib(0,"unreal_uproperty_ColorGlowG",i,col.g,"set");
setpointattrib(0,"unreal_uproperty_ColorGlowB",i,col.b,"set");
setpointattrib(0,"unreal_instance",i,instTmp,"set");
}
I believe unreal properties have to set on prim/detail level, at least that's how mines working
Hi thank you for your quick response,
Maybe i doing something wrong. i use Attribute Instancers on point cloud to instanciate an Unreal blueprint and set this blueprint with unreal_uproperty.
Thank you for your help. Best Regards Daniel
Salut,
Thanks for the detailed bug report and videos, you normally should be able to get point uproperty attributes to work the way you intend them to. Unfortunately, the plugin currently has a few bugs that caused the uproperty attributes to not be applied correctly on the proper instance.
I'll update here when the issue's fixed.
Hey hey, guess this is still open in 2.0.2 ?! As I am experiencing it right now :(