Skip to content

What can awake sleeping bodies without presence of constraints? #139

Answered by RossNordby
Frooxius asked this question in Q&A
Discussion options

You must be logged in to vote

Islands are defined by the constraint connectivity graph, so in order for the bodies to be awoken by some other active bodies, there would need to be a constraint connecting them. With no contact constraints, it would have to be through non-contact constraints (e.g. BallSocket).

Apart from constraints, the only thing that wakes bodies up is calling functions which directly or indirectly wake them up. Anything that bottoms out calling the IslandAwakener functions AwakenBody, AwakenConstraint, AwakenSet, or AwakenSets.

AwakenConstraint is triggered when removing a constraint or calling ApplyDescription on a constraint. It will only wake bodies that are involved in the same island, so bodies…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Frooxius
Comment options

@RossNordby
Comment options

@Frooxius
Comment options

Answer selected by Frooxius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants