Matthew Miller

Results 63 comments of Matthew Miller

More on DistanceJoints on this... Right now, as I understand it, Compliance acts as a value for all of these things: 1. How "stretchy" the connector is 2. How rope-like...

> Compliance is just the inverse of stiffness, and stiffness isn't a variable property in the sense that it would behave differently when pushing things vs. returning to the rest...

You know how the RevoluteJoint _doesn't_ have a "rest point" it pulls back to? It just enforces the angle limits. Ironically, while I wanted that for _that_ joint, for DistanceJoint...

Having poked at this a bit more, I think DistanceJoint should drop the "rest limit" and just have the DistanceLimits. If you want the joint to return to one distance,...

Yeah, that makes sense. I admit I'm thinking further than anything I have a current practical use for, but I like the idea of having _different_ break conditions — forcing...

In keeping with the joint constraint compliance thoughts, even without having different events or components for different types of breakage, it would be nice to have different limits in every...

> What we could do is have something like Rapier's [GenericJoint](https://github.com/dimforge/rapier/blob/e9ea2ca10b3058a6ac2d7f4b79d351ef18ad3c06/src/dynamics/joint/generic_joint.rs#L201) that can be used for pretty much all joint types with configuration for each translational and rotational axis. Something...

I think you should be able to use a [DistanceJoint](https://docs.rs/bevy_xpbd_2d/latest/bevy_xpbd_2d/constraints/joints/struct.DistanceJoint.html) for this.

It'd be _awesome_ to have this as something that's optionally configurable on a very granular level — hours by space, room, with overrides for individual accounts and keywords. Needs some...

Yeah, I ran in to this too. Here's a workaround you can use in your python code: ``` def wordwrap(text, scale, width, display): words = text.split() # Splits by any...