Draft
Conversation
added 8 commits
September 18, 2019 12:37
…ow cube map textures to be set
…eJS geometry and constructor parameters
…nges to `physics` properties when physics are running. Split out physics examples.
lojjic
reviewed
Oct 4, 2019
| } | ||
| } | ||
|
|
||
| // FIXME should this attempt to force the parent world into continuousRender mode? |
Collaborator
There was a problem hiding this comment.
I think if you add a this.notifyWorld('needsRender') call in the worker response handler, that should give a similar result as continousRender.
Alternatively, you could consider having the physics manager set up its own timing loop rather than hooking in to onBeforeRender.
Contributor
Author
There was a problem hiding this comment.
Thanks for the suggestions, that definitely sounds cleaner. I'll investigate those options next.
added 14 commits
October 14, 2019 16:23
… code portability and remove unused components.
…plify loading and bundling
…rent physics engines. Default package `main` files to ammo.js implementation. Update all worker code to use WorkerModules
…tring prefix to ammo worker IDs.
…ule-ified Ammo.js output file. Add TODO for finishing ASM.js fallback
…, refactor worker messages to use transferable, start new MouseInteractionExample, integrate adapted AmmoDebugDrawer
…ges, debug drawer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New
troika-physicsmodule, powered by ammo.js.Example Usage