// for collision. These are hardcoded values for now.
Vector3f origin = new Vector3f(0f, 0.57f, 0.0f);
float radius = 0.25f;
if (selectedForInput) {
Spatial collisionGraph = new Sphere("AvatarCollision", origin, 10, 10, radius);
collisionGraph.setModelBound(new BoundingBox());
collisionGraph.updateModelBound();
// Fetch the JME Collision system using the server manager of the Cell
// to which this renderer is attached.
ServerSessionManager manager =
cell.getCellCache().getSession().getSessionManager();