|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright (c) 2009-2012 jMonkeyEngine |
|
|
|
* Copyright (c) 2009-2018 jMonkeyEngine |
|
|
|
* All rights reserved. |
|
|
|
* All rights reserved. |
|
|
|
* |
|
|
|
* |
|
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
@ -96,7 +96,7 @@ public abstract class PhysicsCollisionObject implements Savable { |
|
|
|
* Sets the collision group number for this physics object. <br> |
|
|
|
* Sets the collision group number for this physics object. <br> |
|
|
|
* The groups are integer bit masks and some pre-made variables are available in CollisionObject. |
|
|
|
* The groups are integer bit masks and some pre-made variables are available in CollisionObject. |
|
|
|
* All physics objects are by default in COLLISION_GROUP_01.<br> |
|
|
|
* All physics objects are by default in COLLISION_GROUP_01.<br> |
|
|
|
* Two object will collide when <b>one</b> of the partys has the |
|
|
|
* Two object will collide when <b>one</b> of the parties has the |
|
|
|
* collisionGroup of the other in its collideWithGroups set. |
|
|
|
* collisionGroup of the other in its collideWithGroups set. |
|
|
|
* @param collisionGroup the collisionGroup to set |
|
|
|
* @param collisionGroup the collisionGroup to set |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -109,7 +109,7 @@ public abstract class PhysicsCollisionObject implements Savable { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Add a group that this object will collide with.<br> |
|
|
|
* Add a group that this object will collide with.<br> |
|
|
|
* Two object will collide when <b>one</b> of the partys has the |
|
|
|
* Two object will collide when <b>one</b> of the parties has the |
|
|
|
* collisionGroup of the other in its collideWithGroups set.<br> |
|
|
|
* collisionGroup of the other in its collideWithGroups set.<br> |
|
|
|
* @param collisionGroup |
|
|
|
* @param collisionGroup |
|
|
|
*/ |
|
|
|
*/ |
|
|
|