Mesh Move/Inheritance problem

Hi all.

What is problem: I have some parent blueprint object, where i need define moving function on the Graph tab. (It uses Tick event). This moving has to move some static mesh.

Then i have child blueprint, which inherites this parent object (or class).

The problem is, the move logic is in parent object, but as render i want to use mesh from child object. (from MVC view, parent is controller, and child is View)

And here is problem. Because, if the parent object is Only empty static mesh, and the child is another static mesh, if i move the root mesh, the root is moving, but the child static mesh not, even if it is child component of the parent component (this is due inheritance) See screen.

(or for example, if the root mesh is Cylinder, and child mesh is cube, the Cylinder is moving, but the Cube not !)

I am talking about situation, when i place on the scene the instance of the child blueprint object, and hit Simulate button.

I thought that in child construction script i could do something like, access the parent property eg parent.mesh = child.mesh;

But it doesnt work, its not moving at all (the parent)

Please help,

Thanks

It seems i managed to make it working…

To parent object i added SceneComponent variable, and this variable i am setting in child object in construction script like:

parent (self) . sceneComponentVariable = (self).staticMesh