Selaa lähdekoodia

Update physics.md

Björn Ritzl 5 vuotta sitten
vanhempi
commit
b93f9e9672
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      docs/en/manuals/physics.md

+ 4 - 0
docs/en/manuals/physics.md

@@ -237,6 +237,10 @@ function update(self, dt)
 end
 ```
 
+::: sidenote
+Ray casts will ignore collision objects that contain the starting point of the ray. This is a limitation in Box2D.
+:::
+
 ## Resolving kinematic collisions
 
 Using kinematic collision objects require you to resolve collisions yourself and move the objects as a reaction. A naive implementation of separating two colliding objects looks like this: