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

Entities with CollisionShape do not show up in debug-3d if they do not have a GlobalTransform #156

Answered by jcornaz
nicopap asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.

That's intended behavior, and in fact it is not only a problem of the debug renderer, the rigid-body should not work at all.

If there is no GlobalTransform, the body doesn't have a global position/rotation. It is nowhere.

It's even properly documented. Both, the README.md and root crate documentation say:

Spawn any bundle of your choice. Only make sure there is a GlobalTransform

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jcornaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #155 on November 21, 2021 16:13.