diff options
author | 20kdc <asdd2808@gmail.com> | 2017-04-13 19:37:17 +0100 |
---|---|---|
committer | 20kdc <asdd2808@gmail.com> | 2017-04-21 21:19:41 +0100 |
commit | e2df5d661d5eb78104f9b1b88cabdb6e2476b301 (patch) | |
tree | 408980b70502be10b9d83b6ced9b0c58e7fb5ffa /scene/resources/baked_light.cpp | |
parent | b474646de081084dd691648f87d6057b77fbd819 (diff) |
Ported/fixed move_and_slide to KinematicBody (3D+floor/ceiling args)
This version of the commit has the on_ceiling/on_wall fix without any
explaination of that code, since apparently it wasn't complicated enough.
As for the notes at the top of the function, they're still there.
move_and_slide is rather useful for character-controllers, etc.
It reduces the amount of boilerplate code.
Not having move_and_slide makes the APIs somewhat inconsistent.
(It might be nice to figure out a way to share the code between the two
move_and_slide implementations, but that's for someone who knows what
the policy is on shared code like that.)
Diffstat (limited to 'scene/resources/baked_light.cpp')
0 files changed, 0 insertions, 0 deletions