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

warning and checks for noimpostor children #12482

Merged
merged 4 commits into from
May 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/dev/core/src/Debug/physicsViewer.ts
  • Loading branch information
deltakosh authored May 5, 2022
commit 3a53e0a300623f6b5956571de4d5807a1929e33b
3 changes: 2 additions & 1 deletion packages/dev/core/src/Debug/physicsViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ export class PhysicsViewer {
let mesh: Nullable<AbstractMesh> = null;
const utilityLayerScene = this._utilityLayer.utilityLayerScene;
if (!impostor.physicsBody) {
Logger.Warn("Unable to get physicsBody of impostor. It might be initialized later with by its parent's impostor.");
Logger.Warn("Unable to get physicsBody of impostor. It might be initialized later by its parent's impostor.");

return null;
}
switch (impostor.type) {
Expand Down