aframe-physics-system
aframe-physics-system copied to clipboard
Dynamically positioned `dynamic-body` entities not relative to parent entity.
This one cropped up while I was putting some demos together for #225 .
In the demo below, I'm using a crate-generator
component to spawn crates within a parent container entity, however their positions are not relative to the container. This only seems to happen when the dynamic-body
component is added; static-body
works as expected.
The crates should appear relatively near the center of the red wireframe.
I'm using aframe
0.8.2
with aframe-extras
4.2.0
and aframe-physics-system
3.2.0
.
Code: https://glitch.com/edit/#!/crate-test
Demo: https://crate-test.glitch.me/