How to create a subclass in runtime with blueprints?

I need to duplicate a class to modify it without altering the original
How to?

give more details about your problem.
do you want to change the instances? whats the type of the class that you want to inherit from? do you just want to know how inherit from blueprint?

This is a class that contains a skeletal mesh that I would like to change for another in real time

sorry for late reply try calling set mesh on skeletal mesh component

I tried but I can’t get the skeletal mesh from the class

can you give more info on what you did and how you tried to access it, you should be able to see it in blueprint components window

I opted for another solution

Folks this topic is great example why you should use correct keywords/names for things. Yes i know it sometimes is impossible when you do not know correct term, you cannot even google for it to check if its correct word to describe. So not blaming anybody here.

Another great example is: Game Ability System (GAS), and Game Animation Sample Project. And i have no idea why some “challenged people” use GAS name for animation sample, confusing everybody around. Game Animation Sample Project uses Motion Making plugin, and if even it should be GASP not GAS.

Same in this topic “duplicate class” makes everybody go full speed into object oriented classes and runtime creating new one class.

So try to make sure you’re using the correct terms, or else you’ll send everyone willing to help on a wild goose chase. Or even worse get wrong replies to your problem.

1 Like

:rofl:

Well googling when you don’t know the terms is not easy but i think AI nowadays has that covered there are a lot of AI models out there that can help with learning the terminology or just outright give the answer to a lot basic answers, naming a few :
chatgpt (OpenAI), claude (Anthropic), gemini (meta)

Indeed, i am using it a lot, just explain problem to AI and ask for some hints, it will give all keywords, and solution. However use keywords to double check solution, as ai loves to make up facts.

1 Like

Indeed