SI: Different interpolation per entity? #278
Unanswered
hubertgrzeskowiak
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My use case:
Depending on what changed in the world state, and depending on the type of object, I would like to only send the state of some properties. For example, some entities might have a rotation, while others won't.
Is it somehow possible to have different interpolation functions per entity?
Looking at the code it seems that the whole world state is parsed with one set of params. I wonder, would it be easiest to ensure each property name has a unique interpolation defined? E.g. a property
x
would belinear
on all entities.Or would it be worth changing the implementation on my side to add the interpolation to the property name and read it dynamically? E.g.
x-linear
,rotation-deg
resulting inSI.calcInterpolation('x-linear rotation-deg(deg)')
?Beta Was this translation helpful? Give feedback.
All reactions