Scaling and rotating Instances

   2318   2   1
User Avatar
Member
21 posts
Joined: 4月 2018
Offline
Hi

I cant get my instances to get scaled by the HDA inside ue4
It looks like trying to use pscale in an attribute expression node causes all instances to just disappear.
How should you properly scale an instance?

Also I noticed that the point normals do not transfer into instance rotation either. How should I deal with this?
Edited by jimonions - 2020年7月11日 01:07:56
User Avatar
Member
21 posts
Joined: 4月 2018
Offline
Bump:
This is acting very strangely:

I'm trying to use the orientalongcurve node but it doesn't do anything either.
The only way I can get orientation to do anything at all is to add an orient attribute and manually set a value that affects everything.


This is of course not ideal since each point has unique orientations.

The weird thing here is even though the attribute names are exactly the same and do the same thing in houdini, it wont work in ue4. ONLY the createattribute node will actually work on instances.
(left)


There has got to be a better way of adding orientations to instances than manually calculating setting each point with a new createattribute node right?

PS wrangle also does not work.
Edited by jimonions - 2020年7月14日 04:16:57
User Avatar
Member
330 posts
Joined: 4月 2018
Offline
The Orientation Along Curve doesn't explicitly output the orient attribute, and it seems Unreal Engine is expecting that attribute to exist. Try turning on the checkbox on the node to output the attribute.

Attachments:
hindie_jTqX6IHATu.png (16.8 KB)

  • Quick Links