Closed natolambert closed 1 year ago
Update, this was caused by the direction
parameter being used to set orientation rather than rotation
. A weird coupling happened.
Additionally, direction
does not translate to colliders.
Solved when removed direction
argument in favor of rotation
.
In creating #147, I found that boxes that are flat in the y axis have a different rotation. Without the specified rotation in the constructor, the boxes are rotated off by 90 degrees.
Can we expose
rotation
to the construction of defaultObject3d
's?Code to reproduce:
Example without rotation hard-coding:
With rotation hard-coding: