Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

fix shapecast and segment shape #49

Merged
merged 3 commits into from
Oct 12, 2023
Merged

fix shapecast and segment shape #49

merged 3 commits into from
Oct 12, 2023

Conversation

Ughuuu
Copy link
Collaborator

@Ughuuu Ughuuu commented Oct 12, 2023

This makes it so that unsafe part is always returned correctly and unmodified so shape cast works.
Will change the whole way safe/unsafe works after margin is added to box2d.

Fixes #48

Segment shape used a small value for size, 0.5. Increased it to 1 because box2d removed edges from it.

Fixes #47

@Ughuuu Ughuuu changed the title fix shapecast fix shapecast and segment shape Oct 12, 2023
@Ughuuu Ughuuu merged commit a989b65 into main Oct 12, 2023
Ughuuu added a commit that referenced this pull request Oct 14, 2023
* fix shapecast

* Also add fix for SegmentShape2D crash

* Update CHANGELOG.md
@Ughuuu Ughuuu deleted the fix-shapecast branch March 23, 2024 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shapecast2D node does not detect collisions SegmentShape2D seems unsupported
1 participant