Ue4 Move Actor By Mouse
I'm new in game development. Pass a training course Get Started (https://docs.unrealengine.com/latest/INT/Programming/QuickStart/7/index.html) I created a class AMyActorTest extended AActor:
I will leave it up as reference tho. First let's go over some background story, to know what we're dealing with. You see, UE4 by default uses either Slate (C).
I have a problem that I can not move in Editor to AActor after placing it in ViewPort. I read that I was missing RootComponent for my Actor, but I do not understand how to add it (maybe I do not fully understand actors). Can help you have my source code to solve my problem? This code is doing in terms of training.My goal - to add an actor and be able to move and rotate it.
I was challenged by some friends to make a fairly good looking Shep on ME1 and given the constraints and exceptionally ugly face models, it wasn't easy. He's not perfect by any means but considering the time it took, I'm quite happy with him.BTW; I have recently found out that Mass Effect 1 did not use face codes:( I will complete my playthrough with him ASAP so I can use him in ME3 and then try and recreate him properly and give you guys the code. Mass effect 2 faces. No mods were used as this is for PS3. If anyone wants to create him for ME1 though you'll have to watch the vid and choose the options I chose. Hope this helps:).
1 Answer
Please add this code
to your constructor. That's all. If you'd like to add another components, you can use similar code (this example creates UInstancedStaticMeshComponent :