Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Why can't I move my Actor in the Viewport?


It may look like a silly question but I could not find any information related with the issue I am having. The problem is that I have created a class derived by Actor. I created a blueprint instance of it. So far so good but when I put that actor into the viewport, I am not able to move it around. It is just stuck in the center of the scene and I cant move it. What is the reason behind it?

I am able to transform a mesh which is child of the RootComponent. However, when I put that mesh directly into the rootcomponent, I cannot move it why?

Video Demo Link

Product Version: Not Selected
more ▼

asked Jul 24 '14 at 08:02 AM in C++ Programming

avatar image

245 36 37 169

avatar image Ben Halliday STAFF Jul 24 '14 at 05:13 PM

Hey ErayT,

Can you be more specific about the process you used to create your new class? Any details might help us to reproduce this. When you drag it into your level from the Content Browser, you aren't able to move it?

Root components can't be moved, rotated, or scaled within the Blueprint Editor because they are the basis for relative location. You should be able to adjust the entire Blueprint within the level to get the transform you want. If you want to adjust it within the Blueprint, you'll need to make it a child of the root component. Generally, it's good practice to use an empty SceneComponent as your root for Blueprints.

avatar image ErayT Jul 24 '14 at 08:04 PM

I have uploaded a video to express my problem clearly.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey ErayT,

The problem is that you're trying to attach your CloudMesh to the RootComponent without declaring what the RootComponent actually is. Replace the line:


in your Cloud.cpp with:

 RootComponent = CloudMesh;

and you should be able to move the Mesh around as expected.

Hope that helps!

Ben Halliday

more ▼

answered Jul 25 '14 at 08:03 PM

avatar image Candy_swift Jul 21 '15 at 11:16 AM

Also when you're creating blueprint, first of all create "scene" it will be the root component and all others will be movablealt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question