Showing results for on zayedcharef.io
...PredictedIdentity<AIMovementStateData>
{
// This AI's movement isn't driven by player input,
// but its state (position, velocity) still needs to be predicted and reconciled...
{
// This AI's movement isn't driven by player input,
// but its state (position, velocity) still needs to be predicted and reconciled...
...movement input so the remote character smoothly slows to a stop instead of walking forever. This makes minor packet loss much less noticeable.
// Player...
// Player...
...true
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
...true
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
...true
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
...true
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
for your own player character.false
for everyone else’s character and all AI. - Server:
true
for all AI (since the server controls...
...If your friend is running at 60 FPS, their 0.0166s).Time.deltaTime
will be larger (
If you calculate movement using this, the player...
will be larger (
If you calculate movement using this, the player...
...In PlayerMovementModule.cs
, we ensure the movement input vector can’t be larger than 1. This prevents a player from sending a modified input...
, we ensure the movement input vector can’t be larger than 1. This prevents a player from sending a modified input...
...PlayerManager.cs
needs a list to store player IDs. Instead of creating a new List
, it correctly uses DisposableList<PredictedComponentID>.Create()
. This list is...
needs a list to store player IDs. Instead of creating a new List
, it correctly uses DisposableList<PredictedComponentID>.Create()
. This list is...