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

Adapt code for new API #1

Merged
merged 3 commits into from Jun 4, 2020
Merged

Adapt code for new API #1

merged 3 commits into from Jun 4, 2020

Conversation

freezy
Copy link
Collaborator

@freezy freezy commented Jun 3, 2020

This PR updates the repo to work with ravarcade/VisualPinball.Engine#3.

Like in the other PR, bootstrapping has changed as well. Instead of the component implementing IPhysicsEngine, we now have a small class BulletPhysics instantiated by EngineProvider that adds the component if not already added. The component can be added to the table in the editor but will stay disabled if the table's physics engine is not set to Bullet.

I must admit I haven't tested this yet. It compiles and it should, but there might be bugs. ;)

@ravarcade ravarcade merged commit 50d1842 into master Jun 4, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants