Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Attachment nodes position fix #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

c1usta
Copy link

@c1usta c1usta commented Sep 30, 2019

Attempt to fix attachment nodes position

@todi
Copy link

todi commented Oct 30, 2019

This seems to work as a fix to #18 for most shapes. But for polygons the same fix has to be applied to ProceduralShapePolygon.cs as well:

if (Mathf.Abs(Mathf.Abs(position.y) - 0.5f) < 1e-5f)

@c1usta
Copy link
Author

c1usta commented Oct 30, 2019

The same expression added to polygon shape

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.

2 participants