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"

Set scale default value in BP using C++

alt text

See the value named "Scale" under the "Transform" tab in the bottom left of the image? I want to set the default value for that via the C++ class that my BP inherits from. I've tried running all sorts of methods in the C++ constructor (including SetRelativeScale3D) however none are setting the default for that value.

Running some of the other functions after the construction of the BP actually does seem to be working. However, I then loose the ability to modify the scale on a per BP level using that scale value. This is part of why I want to be able to set a default for that value.

The other issue is I have found no method in C++ which seems to simultaneously scale the physics representation of the object (mass) as well as the graphical representation of the object. The scale value in the BP does both at the same time so it is preferred.

Product Version: Not Selected
Tags:
more ▼

asked Nov 30 '14 at 04:03 PM in C++ Programming

avatar image

mbernardi
23 2 5 8

avatar image BaderThanBad Nov 30 '14 at 04:12 PM

Are you constructing that component in C++ or blueprint?

avatar image mbernardi Dec 01 '14 at 02:57 AM

The root component is constructed in C++. It's model is set in BP.

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

0 answers: sort voted first
Be the first one to answer this question
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