Posts: 15
|
Post by alexandregamer on Oct 11, 2020 10:35:30 GMT 10
Hello people! Does anyone know how to explain me how the codes of the triggerzones marked in the example below are calculated and generated. I cannot understand the theory or the logic of this. I would like to learn how this mechanism works.
X: -6766.345 = cd72d3c5
Z -3817.703 = 3f9b6e45
Y: 6536.561 = 7d44cc45
TriggerZoneCorner_1X: cd72d3c5
TriggerZoneCorner_1Y: 7d44cc45
TriggerZoneCorner_2X: 964f2646 (marked point)
TriggerZoneCorner_2Y: 7d44cc45
TriggerZoneCorner_3X: 964f2646
TriggerZoneCorner_3Y: 77703b45 (marked point)
TriggerZoneCorner_4X: c372d3c5 (marked point)
TriggerZoneCorner_4Y: 77703b45
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Oct 11, 2020 18:01:56 GMT 10
|
|
Posts: 15
|
Post by alexandregamer on Oct 12, 2020 9:20:43 GMT 10
In relation to the x, y and z coordinates, I understood how it works. but I was referring to the points marked down here.
TriggerZoneCorner_2X: 964f2646 (marked point)
TriggerZoneCorner_3Y: 77703b45 (marked point)
TriggerZoneCorner_4X: c372d3c5 (marked point)
Those points marked above that I didn't understand how they are calculated and generated. I even tried to invert the numbers and add up to see if it was just it that should be done, but I was not successful.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Oct 12, 2020 12:06:09 GMT 10
They are calculated exactly the same way as the example I showed you. Reversed the Endian order and converted to floating point.
|
|