Skip to content

BodyGroup

namespace Griff.Runtime;
public sealed class BodyGroup

Bodies welded into one; see Groups.

public bool Anchored { get; }

Welded to something without a body (a wall, the ground): the whole group holds still.

public List<Body> Bodies { get; }

The bodies welded together.

public bool Still { get; set; }

For this step: it holds still (anchored, or a member is frozen).

public bool Turns { get; set; }

For this step: it turns as one, every member being a body that rotates.