interpolate OR movable..that is the question!
POM
Member Posts: 2,599
Hey !
im optimizing my game as much a possible because the update is not here and who knows if it will be available for the current express members. and besides optimization is always needed.
SO.... i have a massive spawn of actors in my game and those actors are moving from left to right
along the screen, so now they are movables and linear velocity is set to "-100"
as i said this is a massive numbers of actors, will it be better if i uncheck movable and give the prototype actor an interpolate behavior ? like interpolate SELF.POSITION X to -50
im optimizing my game as much a possible because the update is not here and who knows if it will be available for the current express members. and besides optimization is always needed.
SO.... i have a massive spawn of actors in my game and those actors are moving from left to right
along the screen, so now they are movables and linear velocity is set to "-100"
as i said this is a massive numbers of actors, will it be better if i uncheck movable and give the prototype actor an interpolate behavior ? like interpolate SELF.POSITION X to -50
Comments
You may even want to check collision detection during the interpolation. You may find that until the actor reaches its destination it will not even detect collisions or overlaps.
However, two non-movable actors will never trigger collision detection because the engine assumes that since they are both not movable they can't collide.
A movable and non movable can collide though.
Thank you
Roy.