Change Actor in game play
i have a actor created in c++ class and then use a blue print to assign the mesh etc, my question is,, is it possible to change this actor or mesh when the actor is clicked on during the game play?? and the new actor will go in a the same transformation and rotation as the old actor??
asked Nov 28 '15 at 04:06 PM in C++ Programming
You seem to know what to do, why don't you try it? Clearly you want to spawn new actor (dont forget to change possesion in playercontroller) on same location and then delete old actor. You can also change mesh if you want, but best for that would be blueprint code that can refrence to mesh a lot easier, in mesh components you got those functions:
Those C++ only function so you need to create your own function that expose that in to blueprints
answered Nov 28 '15 at 05:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here