Skip to content

Commit 4d128db

Browse files
authored
Update snap to ground documentation to match implementation (#136)
Co-authored-by: kylesower <[email protected]>
1 parent 32f7afe commit 4d128db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_guides/templates/character_controller_snap_to_ground.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
44
If enabled, **snap-to-ground** will force the character to stick to the ground if the following conditions are met
55
simultaneously:
66
- At the start of the movement, the character touches the ground.
7-
- The movement has no up component (i.e. the character isn’t jumping).
7+
- The movement has a slight downward component.
88
- At the end of the desired movement, the character would be separated from the ground by a distance smaller than the
99
distance provided by the **snap-to-ground** parameter.
1010

@@ -36,4 +36,4 @@ Typical usages of snap-to-ground include going downstairs or remaining in contac
3636
<load path='/2d/javascript/src/snippets/character_controller.ts' marker='Snap' />
3737
```
3838

39-
</js>
39+
</js>

0 commit comments

Comments
 (0)