瀏覽代碼

Update physics.md

Björn Ritzl 5 年之前
父節點
當前提交
b93f9e9672
共有 1 個文件被更改,包括 4 次插入0 次删除
  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: