x

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"

Can't edit nested SplineComponent

To replicate, make a new C++ project.

  1. Add a class inheriting from Actor called MyActor.

  2. Add a class inheriting from SceneComponent called MySceneComponent.

  3. In MyActor, add a UPROPERTY for MySceneComponent.

  4. In MySceneComponent, add a UPROPERTY for a USplineComponent.

  5. In MyActor constructor, do CreateDefaultSubobject and SetupAttachment for MySceneComponent.

  6. In MySceneComponent constructor, do CreateDefaultSubojbect and SetupAttachment for the SplineComponent.

  7. In UE4, place MyActor and note that you can't select or manipulate the spline.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 09 '17 at 04:30 AM in Bug Reports

avatar image

duke22
195 11 17 31

avatar image Azarus Mar 09 '17 at 04:49 AM

I would suggest to try to add an Array for Vectors and expose them as 3DWidgets then you can edit the points even if it belongs to a subcomponent, but you have to update the spline points manually

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

1 answer: sort voted first

Hey duke22-

When you add the spline component to your scene component class, the spline component details are shown under the scene component in the placed instance. If you do not see your spline component in the details panel when the scene component is selected, please check that your UPROPERTY specifiers allow the component to be seen/edited.

Cheers

Doug Wilson

more ▼

answered Mar 09 '17 at 02:58 PM

avatar image duke22 Mar 14 '17 at 01:31 AM

The UPROPERTY specifiers are BlueprintReadOnly, EditAnywhere. Even when I select the component I can't interact with the spline in the viewport (I can't select either start or end points).

avatar image Doug E ♦♦ STAFF Mar 14 '17 at 06:08 PM

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here https://issues.unrealengine.com/issue/UE-42878 . You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

(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