Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bullet3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sip
bullet3
Commits
6b67d1dc
Commit
6b67d1dc
authored
Dec 23, 2018
by
D-AIRY
Browse files
Options
Downloads
Patches
Plain Diff
Added debug info
parent
6c0c492d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#26
failed
Dec 23, 2018
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/BulletDynamics/Character/btKinematicCharacterController.cpp
+1
-1
1 addition, 1 deletion
...lletDynamics/Character/btKinematicCharacterController.cpp
with
1 addition
and
1 deletion
src/BulletDynamics/Character/btKinematicCharacterController.cpp
+
1
−
1
View file @
6b67d1dc
...
@@ -1026,7 +1026,7 @@ void btKinematicCharacterController::setUpVector(const btVector3& up, bool skipG
...
@@ -1026,7 +1026,7 @@ void btKinematicCharacterController::setUpVector(const btVector3& up, bool skipG
if
(
!
m_ghostObject
||
skipGHost
)
return
;
if
(
!
m_ghostObject
||
skipGHost
)
return
;
btQuaternion
rot
=
getRotation
(
m_up
,
u
);
btQuaternion
rot
=
getRotation
(
m_up
,
u
);
printf
(
"Transforming player physbase with: %.2f %.2f %.2f %.2f
\n
"
,
rot
.
x
(),
rot
.
y
(),
rot
.
z
(),
rot
.
w
());
//set orientation with new up
//set orientation with new up
btTransform
xform
;
btTransform
xform
;
xform
=
m_ghostObject
->
getWorldTransform
();
xform
=
m_ghostObject
->
getWorldTransform
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment