SL23W26: Difference between revisions

From ETM
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
*'''Yaw of 360 deprecated, only use -180 to 180 at least for display entities'''
*'''Yaw of 360 deprecated, only use -180 to 180 at least for display entities'''
**'''Client still sends yRot as -6000 etc'''<br />
**'''Client still sends yRot as -6000 etc'''<br />
*'''Add working indexes to auto-creation for stasi'''
**Will speed up 10-100x search queries
**CREATE INDEX `stasi-time-test` ON stasi.etm20000.stasimeta(timeStamp);
**select doc.* FROM `stasi`.`etm20000`.`stasimeta` as doc use index(`stasi-time2-test`) WHERE timeStamp > 1688162400000 AND timeStamp < 1688248800000 ORDER BY timeStamp ASC LIMIT 5000

Revision as of 13:50, 5 July 2023

◄ SL23W25 | SL23W27 ►


DisplayBlocks:

  • For some reason the yaw-distance between two states needs to be the opposite of the calculated value for the animation to be corrent.

float yawDist = -(rotTarget - rotSource);

  • Interaction-hitbox does not support PITCH/ROLL for blocks; add warning to user
  • Yaw of 360 deprecated, only use -180 to 180 at least for display entities
    • Client still sends yRot as -6000 etc
  • Add working indexes to auto-creation for stasi
    • Will speed up 10-100x search queries
    • CREATE INDEX `stasi-time-test` ON stasi.etm20000.stasimeta(timeStamp);
    • select doc.* FROM `stasi`.`etm20000`.`stasimeta` as doc use index(`stasi-time2-test`) WHERE timeStamp > 1688162400000 AND timeStamp < 1688248800000 ORDER BY timeStamp ASC LIMIT 5000