Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finer grained expressions instead of modifiers #236

Open
djeedai opened this issue Oct 7, 2023 · 0 comments
Open

Finer grained expressions instead of modifiers #236

djeedai opened this issue Oct 7, 2023 · 0 comments
Labels
A - expressions Change related to the Expression API A - modifiers Change related to modifiers C - breaking change A breaking API or behavior change C - enhancement New feature or request

Comments

@djeedai
Copy link
Owner

djeedai commented Oct 7, 2023

Describe the solution you'd like

As discussed on Discord having things like SetPositionSphereModifier and SetVelocitySphereModifier is restrictive, compared to having a "sphere" expression that you can plug into SetAttribute.

Describe why you want that solution. Is this related to a problem?

This reduces the maintenance burden and opens up new customizing, at the expense of a bit more setup complexity. But the Expression API is not particularly concise nor high level, and the goal is eventually for the Graph API to be the higher level entry point anyway.

Describe alternatives you've considered

  • More modifiers with more customizing options; this is a maintenance burden.
  • Manually building the expression; this requires a bit of math that not all users are necessarily comfortable with (and opens up to errors).
@djeedai djeedai added C - enhancement New feature or request A - modifiers Change related to modifiers C - breaking change A breaking API or behavior change A - expressions Change related to the Expression API labels Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A - expressions Change related to the Expression API A - modifiers Change related to modifiers C - breaking change A breaking API or behavior change C - enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant