decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Send proper Transform position to the player's entity #903

Open pbosio opened 1 year ago

pbosio commented 1 year ago

currently y = .88 is being sent (due to some transform offset), while it should be y = 0 (while standing on the floor) we should check if we could use the following data for the player position https://github.com/decentraland/unity-renderer/blob/dev/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DataStore_Player.cs#L10

more relevant info: kernel is already taking into account that offset https://github.com/decentraland/unity-renderer/blob/dev/browser-interface/packages/shared/world/positionThings.ts#L54-L55

no idea where that .88 comes from 🤷‍♂️

leanmendoza commented 1 year ago

FYI > AvatarAttach component is affected by this behavior also