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"

What is waking up my physics?

I have an actor blueprint that simulates physics, but I want it to start asleep so that it just hangs in air until something wakes it up.

If I create a simple actor in a new project and disable "Start Awake" under physics, it works like I expect.

In MY project, no matter what I do, my object wakes up immediately upon play, even though "Start Awake" is disabled. How can I figure out what is causing it to wake up? Right now, I am using the "Put Rigid Body to Sleep" node in my BeginPlay event to work around the issue, but I want to understand what is going on.

Product Version: UE 4.14
Tags:
more ▼

asked Dec 02 '16 at 05:26 AM in Blueprint Scripting

avatar image

CleanCut
2.1k 66 84 77

avatar image Daganar Feb 08 '17 at 11:01 AM

Might be quite a tedious task, but you could put a breakpoint / log in the engine code that wakes up the rigid body? UPrimitiveComponent::WakeRigidBody() FBodyInstance::WakeInstance()

avatar image CleanCut Feb 08 '17 at 06:14 PM

That's worth trying. Thank you for the suggestion!

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

1 answer: sort voted first

Basically it's like telling your Physics Object to start simulation at once :)

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Physics/WakeRigidBody/index.html

more ▼

answered Dec 02 '16 at 09:34 AM

avatar image

AlsonEntuna
81 2 5 8

avatar image CleanCut Dec 02 '16 at 04:28 PM

I'm not doing that. What else could be waking it up?

(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