-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-dim teleport motion is missing #33
Comments
Can not be fixed as minecraft works the way as it works... |
@MineDragonCZ FYI it can be fixed, you just need to save the player motion right as they enter the gate and then send set delta movement for the player from that as the exit the gate. Here's an example of code you can use to do it in case you're interested: |
that is exaclty what im doing now. But for some reason it is not working cross-dimensionaly |
How odd, are you sure you're also properly syncing the serverside player motion with client using a motion packet? The client needs to be updated with the motion right after the motion is set on server, otherwise the 0 client motion will override any server motion as soon as the client player sends its next packet to the server |
I can take a deeper look later, but I'm almost sure that packet is sent correctly |
okay so ... when going between gate in the overworld only .. you spawn in front same postion you stepped in at and with the same speed you had when going in the gate
but if you cross dims you spawn behind and stop dead no speed carried and mostly behind the gate exactly above the base block
if gating from vertical to horizontial and you cross dims .. you spawn in front on the top of the gate
going from horizontial to vertical you mostly spawn in front in the same postion you stepped into the gate but no speed is kept
vertical to vertical across dim no speed and behind the gate
The text was updated successfully, but these errors were encountered: