Skip to content

Locking rotation incorrectly applies manual rotations #309

Description

@agg23

Locking a body's rotation with lock_rotations() incorrectly handles manually applied torques, such as via setting the body's angvel(). Rather than using the center of mass, the rotation is applied around one of the corners.

This may be related to #216, though given that the issue still occurs when the body is not translating, I doubt it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions