#How do I compile my UE5 project in Visual Studio?

1 messages · Page 1 of 1 (latest)

late skiff
#

https://www.youtube.com/watch?v=tP6J3f9D8iA&t=1114s

I have been trying to learn C++ on UE5 and I have trouble parenting my weapon C++ class onto the player mesh. The creator of this video told me to compile the project in Visual Studio and then open the project.
I dug some links that I owuld have to download the source code for UE, but that seems like a pain.

Unreal has very good tools for visual scripting with blueprint but of course, there's always those who want to write their code. unreal offers scripting in c++. and while that might sounds like a nightmare, it's not as bad as you think. So come along and let's find out all about C++

Join the discord for any help you need! : https://discord.gg/2...

▶ Play video
spiral gorge
#

I guess the question is: What are you trying to achieve?

late skiff
#

I meant that I'm trying to set the player character mesh as the parent to my weapon class, and then later specify the "hand" part of the mesh as the weapon's parent.

spiral gorge
#

In other words:
You want that your character can have a weapon in their hand?

pastel jetty
#

There are AttachToComponent and Actor functions that allow you to specify attachment options when attaching the two different actors, not sure why this needs a thread?