How I can change character mesh to another?

Hi everyone! I have a big problem: I want to change my first person character mesh (with Astronaut Suit on/off) in a specific point of the map, with an “interact” button activable only in that point. How can I manage that?
Thanks for the help!

You should be able to use the Set Skeletal Mesh node in your character blueprint. What you’ll want to do is set this to a custom event (name it something you’ll remember, like “Change Mesh”) and set the new mesh to the one you want. Then, in your interactable button, cast to your character blueprint and from the “as character” output drag off and call the custom event you set up (in this case, you would look for the “Change Mesh” function). This allows you to change the mesh by your interactable button telling your character to do so instead of trying to force it to happen.

43600-setskeletalmesh.png

  1. Create cube in any 3d program and
    import to your project (or just copy
    cube mesh from starter content to
    your project).
  2. Set it to UStaticMeshComponent using
    SetStaticMesh

I have a similar question

I have a static mesh sphere and I want to change it to a static mesh cube during runtime using blueprint ? plz explain how to proceed?

If it is that easy, I will send you beer :slight_smile:

Vaheva, LOL