Object3D name

Started by Thomas., January 27, 2011, 01:55:26 PM

Previous topic - Next topic

Thomas.

Can I anyhow find name of Object3D if I use this?
obj = world.calcMinDistanceAndObject3D(world.getCamera().getPosition(), dir, PLAYER_HAND_LENGTH);

Thomas.

 :)
String name=null;
if (obj[1]!=null) {
   name=((Object3D)obj[1]).getName();
}