jPCT-AE - a 3d engine for Android > Support
Object3D name
(1/1)
Thomas.:
Can I anyhow find name of Object3D if I use this?
obj = world.calcMinDistanceAndObject3D(world.getCamera().getPosition(), dir, PLAYER_HAND_LENGTH);
Thomas.:
:)
--- Code: ---String name=null;
if (obj[1]!=null) {
name=((Object3D)obj[1]).getName();
}
--- End code ---
Navigation
[0] Message Index
Go to full version