diff --git a/lib/pages/creature-page.tsx b/lib/pages/creature-page.tsx index 9a67352..bd319f9 100644 --- a/lib/pages/creature-page.tsx +++ b/lib/pages/creature-page.tsx @@ -95,8 +95,9 @@ const CreatureSymbol: React.FC = (props) => { const parentAp = getAttachmentPoint(parent, attachTo, attachIndex); const ourAp = getAttachmentPoint(data, "tail"); const dist = subtractPoints(parentAp.point, ourAp.point); + const ourTheta = rad2deg(Math.PI / 2 - Math.acos(Math.abs(ourAp.normal.x))); const normX = parentAp.normal.x; - const theta = rad2deg(Math.PI / 2 - Math.acos(Math.abs(normX))); + const theta = -ourTheta + rad2deg(Math.PI / 2 - Math.acos(Math.abs(normX))); let xFlip = 1; if (normX < 0) { @@ -130,6 +131,10 @@ const Hand = createCreatureSymbol("hand"); const Arm = createCreatureSymbol("arm"); +const Antler = createCreatureSymbol("antler"); + +const Crown = createCreatureSymbol("crown"); + export const CreaturePage: React.FC<{}> = () => { return ( <> @@ -137,11 +142,15 @@ export const CreaturePage: React.FC<{}> = () => { - - - + + + + + + +