Hey,
I’m trying to create a physics cylinder but the CylinderCollisionShape constructor seems weird to me :
[java]/**
- Creates a cylinder shape around the given axis from the given halfextents
-
@param halfExtents the halfextents to use
-
@param axis (0=X,1=Y,2=Z)
*/
public CylinderCollisionShape(Vector3f halfExtents, int axis) {
this.halfExtents = halfExtents;
this.axis = axis;
createShape();
}[/java]
I don’t get what halfExtents are… I mean i see two of them (radius and height) but what about the third one ?