How can I get Datasmith Scene Actor?


Static mesh(yellow) is attached to Actor(blue) and it is attached to Datasmith Scene Actor(red). I can only trace static mesh actor. Is there a way to get Datasmith Scene Actor from this trace, for example to get actor->Datasmith Scene? And if it isn’t possible in blueprint, maybe there is a wat to do it with c++?

A Datasmith Scene Actor does not have a collider or volume you can trace against as it is more or less an empty actor that just serves as a container for the hierarchy (and metadata about the scene).
What I would suggest is tracing the first children mesh you can, then going up in the hierarchy and checking for parents with the class “DatasmithSceneActor”.
This can be done both in BP and C++.

Cheers,
Antoine

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.