12 Replies
@PepeElToro41 if I use start and goal comopnent, how can I ensure that start and goal is a cframe, not a number. I don't want something like StartCframe, EndCframe component, that makes it very verbose
I think its fine to name it startCFrame or something, or interpolationstart and interpolationgoal
if you separate the start and goal from the interpolation itself
it makes easier to replicate for example
because the server can have the start and goal, but not the tween
so the client can then create the tween
this also makes it easier to query all interpolators
with
query(start, goal, transform)
so this would query all interpolators
then you could use things like pairs or whatever to define the behavior for each interpolation
you could also pack the start and goal in an interface if you dont want that many components
i personally think otherwise. I don’t want to make systems only deal with cframe interpolation and another system dealing with number interpolation. My idea is to make a universal system that applies motion goals using ripple.
then you could use an interpolation info
I personally use my component based replication and I dont really have problems dealing with component or pair replication
with a generic
i am proud 😎
so in interpolation info, I just store if its tween, linear, or spring. Then I store the start and goal there and query it?
yeah, for normalization
because they all have common values
pretty sure thats what I did?
idk tbh
you save the goal in the tween component

ideally it should be normalized
I mean I dont think its a big deal
ye thats fair
I did something liek this