Open AlphaDragon601 opened 2 months ago
I just encountered the same issue.
So it's easier to find and more precise
PinJoint2D
doesn't respectangular_limit
There is also an open issue which requests this feature. This could be closed now since the feature was "added" 🙃 (and now can be tracked via this issue)
According to this video it seemed to work at some point (even though they never were hard limits) so I am trying to figure out when it broke. This seems to be the code responsible. Doesn't look crazy complicated but I have no experience with C++.
Tested versions
Godot 4.2.2 stable mono
System information
Linux - Forward+
Issue description
I have a very simple setup of a Node2D with two rigid body children and a pin joint child. The pin joint affixes the two bodies together. I attempt to enable "angular limit" but no matter what settings I use for the bounds nothing is affected. The body pivots just fine and can be motorized without issue. According to the code it is enabled.
Steps to reproduce
Minimal reproduction project (MRP)
project.zip