Inochi2D / inochi2d

Inochi2D reference implementation aimed at rendering 2D puppets that can be animated in real-time (using eg. facial capture).
BSD 2-Clause "Simplified" License
1.25k stars 47 forks source link

Add parameter to flip physics output axis #57

Closed grillo-delmal closed 4 months ago

grillo-delmal commented 4 months ago

This parameter makes let's you apply the XY or Angle/Length physics output flipped to the YX axis of the parameter instead of the XY axis.

LunaTheFoxgirl commented 4 months ago

I'd rather have this implemented as a separate binding mode called "YX".

grillo-delmal commented 4 months ago

xDD I actually did implement it that way in the beggining, but thought it would be easier to integrate it this way.

I'll send a PR then ;)

LunaTheFoxgirl commented 4 months ago

xDD I actually did implement it that way in the beggining, but thought it would be easier to integrate it this way.

I'll send a PR then ;)

Reason is that at some point, probably in 0.9 I plan to add more physics systems to the SimplePhysics node, some of which will be 3D; in that case the wording of "flip" becomes a bit vague with the extra axis.