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"

[Closed] Is it possible to tick preview actors / components?

Hi. My components get ticks just fine, but preview components (members of preview actors - created for asset in content browser for preview purposes) never receive ticks. RegisterComponentTickFunctions is never called for preview components it it seems (the only difference is that preview actors are marked as Transient, as far as I can tell). Is there a way to make this work? Thanks.

Product Version: Not Selected
Tags:
more ▼

asked Jun 27 '14 at 03:27 PM in C++ Programming

avatar image

ttvd
333 20 24 34

avatar image ttvd Jul 02 '14 at 03:02 PM

It seems there's no way to get preview components to tick. I solved this problem by using a custom timer to tick.

(comments are locked)
10|2000 characters needed characters left

The question has been closed Nov 10 '15 at 04:26 PM by ttvd for the following reason:

Problem is not reproducible or outdated


2 answers: sort voted first

bTickInEditor = true;

Check out SkeletalMeshComponent.cpp, in the constructor:

 PrimaryComponentTick.bCanEverTick = true;
 PrimaryComponentTick.TickGroup = TG_PrePhysics;

 bTickInEditor = true;


I can verify that this works for my own custom components!

Enjoy!

Rama

more ▼

answered Jun 28 '14 at 02:12 PM

avatar image

Rama
10.5k 443 341 1078

avatar image ttvd Jun 28 '14 at 04:46 PM

Thanks Rama, that worked. I missed the bTickInEditor thing.

avatar image BiggestSmile Jun 29 '14 at 08:01 AM

That's exactly what i told you to do.

But instead of simply trying that you said i replied on wrong subject and started telling me i didn't know what i'm taking about :)

avatar image ttvd Jun 29 '14 at 01:14 PM

Hi. I still think you did not answer my question, even though you were on a right track. I did not understand any of your Blueprint references or why you had to bring them up. I appreciate it though.

avatar image ttvd Jun 29 '14 at 03:07 PM

Sorry, Rama, it seems I jumped the gun too early, I still do not get ticks in editor for preview components. Now I am starting to wonder if it's even possible

(comments are locked)
10|2000 characters needed characters left

You mean components are not ticking inside Blueprint Components?

If so, you should check component/actor to tick in editor as well.

Sorry, i'm totally not sure what preview actors you're talking about.

more ▼

answered Jun 27 '14 at 03:51 PM

avatar image

BiggestSmile
1.6k 53 36 105

avatar image ttvd Jun 27 '14 at 03:53 PM

No. These are preview actors / with components constructed for preview purposes in Content Browser. They are not blueprint. They are also constructed when you drag an asset from Content Browser into your scene (before you drop). As question states, this is a c++ question.

avatar image BiggestSmile Jun 27 '14 at 06:29 PM

I didn't say here anything blueprint specific, Blueprint Components meant to be Components tab in Blueprint editor for your actors.

As i said, nothing would tick in editor until you check specified bool; though preview is not tickable AFAIK.

avatar image ttvd Jun 27 '14 at 06:30 PM

None of that is relevant to my question.

avatar image BiggestSmile Jun 27 '14 at 06:34 PM

Lol, ok.

That's fine if you think content browser preview is not a part of editor.

avatar image ttvd Jun 27 '14 at 06:35 PM

And what exactly does that have to do with my question? While I appreciate the effort, I really think you should stop and let someone who knows about this subject answer this question. Thanks.

(comments are locked)
10|2000 characters needed characters left

Follow this question

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

Answers to this question