Changes between Initial Version and Version 1 of Ticket #1906, comment 9


Ignore:
Timestamp:
Jun 21, 2013, 12:40:21 AM (11 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1906, comment 9

    initial v1  
    77}}}
    88
    9 What if we had a `CCmpPositionStatic`, and `CCmpVisualActor` tested a new `IsStatic()` method before interpolating? This static position would be used for trees, mines, decorative objects, buildings, etc. (construction previews would still need interpolation, maybe we could make them use the dynamic position component)  The interface would be the same, they'd both be instances of `ICmpPosition`.
     9What if we had a `CCmpPositionStatic`, and `CCmpVisualActor` tested a new `IsStatic()` method before interpolating? This static position would be used for trees, mines, decorative objects, buildings, etc. (construction previews would still need interpolation, maybe we could make them use the dynamic position component)  The interface would be the same, they'd both be instances of `ICmpPosition`. There would still be some unnecessary interpolation in `CmpVisualActor`, e.g. stationary units, but we'd also have no interpolation in all the entities using `CmpPositionStatic`, and the nice thing is we save ourselves from all these bugs.
    1010
    1111Any thoughts on this?