mitm001 5 年之前
父节点
当前提交
49942ba5a4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/modules/ROOT/pages/jme3/advanced/bullet_pitfalls.adoc

+ 2 - 2
docs/modules/ROOT/pages/jme3/advanced/bullet_pitfalls.adoc

@@ -12,7 +12,7 @@ Bullet physics is not without its problems. Unfortunately, many of those are out
 
 == Sweep Test Issues
 
-.  When using link:http://jmonkeyengine.org/javadoc/com/jme3/bullet/PhysicsSpace.html#sweepTest(com.jme3.bullet.collision.shapes.CollisionShape, com.jme3.math.Transform, com.jme3.math.Transform)[PhysicsSpace.sweepTest()], ensure that the distance between the transforms is at least 0.4wu or greater.
+.  When using link:{link-javadoc}/com/jme3/bullet/PhysicsSpace.html#sweepTest(com.jme3.bullet.collision.shapes.CollisionShape, com.jme3.math.Transform, com.jme3.math.Transform)[PhysicsSpace.sweepTest()], ensure that the distance between the transforms is at least 0.4wu or greater.
 .  Note that the sweep will not detect collisions if it done inside of a collision shape. It must be on the edge of a collision shape to detect any collisions.
 
 
@@ -21,7 +21,7 @@ Bullet physics is not without its problems. Unfortunately, many of those are out
 As the javadoc for link:{link-javadoc}/com/jme3/bullet/objects/PhysicsGhostObject.html[PhysicsObjectControl] says, the ghost object collision detection uses AABB (Axis-aligned bounding box) collision only, regardless of the collision shape it has been assigned.
 
 *Workaround:*+
-Please use PhysicsSpace.sweepTest() instead, or kinematic physics objects with link:http://jmonkeyengine.org/javadoc/com/jme3/bullet/PhysicsSpace.html#addCollisionListener(com.jme3.bullet.collision.PhysicsCollisionListener)[collision listeners].
+Please use PhysicsSpace.sweepTest() instead, or kinematic physics objects with link:{link-javadoc}/com/jme3/bullet/PhysicsSpace.html#addCollisionListener(com.jme3.bullet.collision.PhysicsCollisionListener)[collision listeners].
 
 
 == Rigid bodies fall through ground