Announcement

Collapse
No announcement yet.

Get When Rigidbody Goes to Sleep

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get When Rigidbody Goes to Sleep

    Hey All,

    How can I get when a rigidbody / physics body goes to sleep? I want to fire a function when it goes to sleep.

    In Unity3D it is as simple as checking rigidbody.IsSleeping() but I am trying to do it here in UE4 blueprints and can't seem to find any info on it.

    Cheers,
    Chabala

    #2
    I was looking for the same answer and found it.UE4 has you covered.
    Select any primitive component go under the physics section and look for SLEEP FAMILY and for GENERATE WAKE EVENTS (TRUE).

    Click image for larger version

Name:	SleepComponent.png
Views:	442
Size:	50.6 KB
ID:	1690375




    Comment

    Working...
    X