How to make my companion ai to scale it's mesh and get bigger on kill ?

Hi,

I want to access the mesh transform/scale on my companion ai from my enemy ai’s bp. What bp node do i need to access and change the mesh transform/scale values from there ? I have the “on kill” logic and i just need to put in between my companion logic to get bigger/ grow bigger with each kill he does on any enemy. How can i do this the easy way? I have my companion ai as a variable in the enemy bp so i “get” it then i get the mesh and after that i will need to get this transform values of the mesh but i’m not sure which one is it then so far i could’t manage to make it work.

Here is how i try this but it failed to change/scale the mesh bigger

Hello,

The SET is not setting a target, it’s just setting a variable. You need to apply that variable to a target.

An example would be this:

Where the transform of the Body Mesh is retrieved, and then it is SET with the Body Mesh as the target.

(This, of course, assuming you aren’t applying this value elsewhere. Impossible to know, at the moment.)

1 Like

Oh i see it was this node… Ty it works now :smiley:

1 Like

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