Port 2D improvement to move and slide 3D

Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
This commit is contained in:
fabriceci
2021-08-30 20:49:09 +02:00
parent bfcc29635f
commit fd9e573ba6
16 changed files with 1305 additions and 386 deletions

View File

@ -170,7 +170,7 @@
Apply when notions of walls, ceiling and floor are relevant. In this mode the body motion will react to slopes (acceleration/slowdown). This mode is suitable for sided games like platformers.
</constant>
<constant name="MOTION_MODE_FREE" value="1" enum="MotionMode">
Apply when there is no notion of floor or ceiling. All collisions will be reported as [code]on_wall[/code]. In this mode, when you slide, the speed will be always constant. This mode is suitable for top-down games.
Apply when there is no notion of floor or ceiling. All collisions will be reported as [code]on_wall[/code]. In this mode, when you slide, the speed will always be constant. This mode is suitable for top-down games.
</constant>
</constants>
</class>