Skip to content

Is there a reason why maxForce doesnt apply to DampedSpring and DampedRotarySpring? #245

@viblo

Description

@viblo

I see that there's a possibility to set a force/torque calculating function on them, but it can still be confusing that the maxForce property doesnt apply when it works for everything else. From the looks of it a simple clamp in the default force function would do the trick? Is it to save a small amount of performance that its not there or is there some other reason?

A user of Pymunk reported this issue here since he wanted to use maxForce but couldnt: viblo/pymunk#241

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions