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

Record entity count in a log file. #347

Open
nkoenig opened this issue Sep 11, 2020 · 3 comments
Open

Record entity count in a log file. #347

nkoenig opened this issue Sep 11, 2020 · 3 comments

Comments

@nkoenig
Copy link
Contributor

nkoenig commented Sep 11, 2020

We need an entity ID offset, stored in a log file, in order to support spawning of new objects during log playback.

Logplayback will directly insert entities with their recorded ids, which doesn't alter the entityCount. As a result, a spawn call will attempt to create an entity with an existing ID.

A work-around is in #346 here.

@chapulina
Copy link
Contributor

support spawning of new objects during log playback.

What's the use case? Is this for visualization purposes? Typically, during log playback, physics and other systems are not running.

@nkoenig
Copy link
Contributor Author

nkoenig commented Sep 11, 2020

The initial use case is to add lights during log playback.

@nkoenig
Copy link
Contributor Author

nkoenig commented Sep 11, 2020

We will likely also want to spawn models with camera sensors.

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

No branches or pull requests

2 participants