Class SphereCollisionShape

java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.SphereCollisionShape
All Implemented Interfaces:
Savable

public class SphereCollisionShape extends CollisionShape
Basic sphere collision shape
  • Field Details

    • radius

      protected float radius
  • Constructor Details

    • SphereCollisionShape

      protected SphereCollisionShape()
    • SphereCollisionShape

      public SphereCollisionShape(float radius)
      creates a SphereCollisionShape with the given radius
      Parameters:
      radius - the desired radius (in unscaled units)
  • Method Details