Merge branch 'master' of https://github.com/envision3d/FlaxEngine into envision3d-master
This commit is contained in:
@@ -210,7 +210,7 @@ void CharacterController::CreateController()
|
|||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
PhysicsBackend::SetControllerUpDirection(_controller, _upDirection);
|
PhysicsBackend::SetControllerUpDirection(_controller, _upDirection);
|
||||||
PhysicsBackend::SetShapeLocalPose(_shape, _center, Quaternion::Identity);
|
PhysicsBackend::SetShapeLocalPose(_shape, Vector3.Zero, Quaternion::Identity);
|
||||||
UpdateLayerBits();
|
UpdateLayerBits();
|
||||||
UpdateBounds();
|
UpdateBounds();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user