issues
search
tana
/
Mondeto
An open, flexible, and secure online virtual reality system.
MIT License
39
stars
0
forks
source link
Extrapolate movement
#29
Closed
tana
closed
4 years ago
tana
commented
4 years ago
Created
BeforeSync
/
AfterSync
events in
SyncObject
. These events replace
EncodeState
/
ApplyState
.
BeforeSync
for encoding Unity state into Field value
AfterSync
for decoding Field value into Unity state
PhysicsSync
script for syncing velocity and angular velocity of physics-enabled (Rigidbody) objects.
Extrapolate avatar position and rotation based on velocity and angular velocity (Issue #27 )
However, the result was not so good. There is large extrapolation (prediction) error.
Fixed the recently reappeared issue #22 . (It is probably surfaced in commit aab3350b865d064bea151e84c74aad9598392814 )
BeforeSync
/AfterSync
events inSyncObject
. These events replaceEncodeState
/ApplyState
.BeforeSync
for encoding Unity state into Field valueAfterSync
for decoding Field value into Unity statePhysicsSync
script for syncing velocity and angular velocity of physics-enabled (Rigidbody) objects.