mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Bullet KCC: amended deg_to_rad in transform_changed.
This commit is contained in:
parent
c50dcd9195
commit
9946d7803a
@ -187,7 +187,7 @@ transform_changed() {
|
||||
btMatrix3x3 m = _ghost->getWorldTransform().getBasis();
|
||||
btVector3 up = m[_up];
|
||||
|
||||
m = btMatrix3x3(btQuaternion(up, heading));
|
||||
m = btMatrix3x3(btQuaternion(up, deg_2_rad(heading)));
|
||||
|
||||
_ghost->getWorldTransform().setBasis(m);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user