|
|
@@ -465,9 +465,8 @@ Use _forceShieldControl.registerHit(final Vector3f position)_ method to register
|
|
|
final CollisionResults crs = new CollisionResults();
|
|
|
this.rootNode.collideWith(new Ray(this.cam.getLocation(), this.cam.getDirection()), crs);
|
|
|
if (crs.getClosestCollision() != null) {
|
|
|
-
|
|
|
-// Register a hit
|
|
|
-this.forceShieldControl.registerHit(crs.getClosestCollision().getContactPoint());
|
|
|
+ // Register a hit
|
|
|
+ this.forceShieldControl.registerHit(crs.getClosestCollision().getContactPoint());
|
|
|
}
|
|
|
----
|
|
|
|