ELifeRPG / Core

Core project
MIT License
3 stars 0 forks source link

Save character position #97

Open TheRunyx opened 1 year ago

TheRunyx commented 1 year ago

Core

Add last position data to CharacterDto

Sample json data:

{
    "location": {
        "x": 17.45400047302246,
        "y": 0.125,
        "z": 25.229000091552736
    },
    "rotation": {
        "a": -0.0,
        "b": 1.0,
        "c": 0.0,
        "d": 4.371138828673793e-8
    }
}

Reforger

location is in vector format rotation is in Quaternion format - converted to vector matrix