Skip to content
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

Interpolation causes collider "slides" a little when bump into each other #2907

Open
onigumo69 opened this issue Apr 30, 2024 · 2 comments
Open
Labels
stat:awaiting response Status - Awaiting response from author. stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report

Comments

@onigumo69
Copy link

onigumo69 commented Apr 30, 2024

I'm using the Kinematic Character Controller from the asset store which I really like,
right now I'm having a issue is if I enable the ClientNetworkTransform's Interpolate option ON,
then if control one player bump into another player, it will cause the other player's position move a tiny bit amount, (on certain direction with 0.001~0.01 units)
if I disable the Interpolate, then it will stay completely still
1
2

@onigumo69 onigumo69 added stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report labels Apr 30, 2024
@NoelStephensUnity
Copy link
Collaborator

@onigumo69
What version of NGO are you using?

Also, what kind of physics material are you using for the character and what is the mass settings?
You might be able to avoid that issue by adding a physics material with more friction to prevent motion with minor impacts like that.

You might also want to try NGO v2.0.0-exp.2 (available in Unity 6 or 6000.0 beta) that has a bunch of updates to NetworkRigidbody and NetworkTransform where you can enable Use Rigidbody for Motion to apply all state updates directly to the Rigidbody and not the transform (which combined with a physics material that has a higher surface friction this kind of thing can be prevented).

@NoelStephensUnity NoelStephensUnity added the stat:awaiting response Status - Awaiting response from author. label May 1, 2024
@onigumo69
Copy link
Author

@NoelStephensUnity
Netcode for GameObjects 1.8.1;
No physics material for the character, mass in the rigidbody is 1;
Will try to add a physics material to see what happens but I don't know if that will break Kinematic Character Controller;
Maybe will try the NGO v2.0.0-exp.2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Status - Awaiting response from author. stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report
Projects
None yet
Development

No branches or pull requests

2 participants