Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Bepu - Rigidbodies simulation #55

Open
Elektrospy opened this issue Aug 23, 2022 · 3 comments
Open

Bepu - Rigidbodies simulation #55

Elektrospy opened this issue Aug 23, 2022 · 3 comments

Comments

@Elektrospy
Copy link

Elektrospy commented Aug 23, 2022

@Elektrospy Elektrospy changed the title Bepu - Rigged bodies Bepu - Rigidbodies simulation Aug 23, 2022
@DoubleStyx
Copy link
Contributor

DoubleStyx commented Sep 1, 2022

I'd imagine the host would be the authority for the state of the rigidbodies. It would simulate the rigidbodies on its own side, sending the transform and momentum info to the clients. Each client would run their own simulation that receives networked updates from the host. These updates would correct any deviations in trajectory from the host's state.

I'd have to poke around at Neos' networking system. There's a lot of existing infrastructure we can repurpose.

@epicEaston197
Copy link

I'd imagine the host would be the authority for the state of the rigidbodies. It would simulate the rigidbodies on its own side, sending the transform and momentum info to the clients. Each client would run their own simulation that receives networked updates from the host. These updates would correct any deviations in trajectory from the host's state.

I'd have to poke around at Neos' networking system. There's a lot of existing infrastructure we can repurpose.

what would happen if the host isn't present?
I would imagine all rigid body simulation would freeze

@DoubleStyx
Copy link
Contributor

It shouldn't matter since the host is still simulating the session.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants