Text only
|
Text with Images
www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Thomas. on January 27, 2011, 01:55:26 PM
Title:
Object3D name
Post by:
Thomas.
on
January 27, 2011, 01:55:26 PM
Can I anyhow find name of Object3D if I use this?
obj = world.calcMinDistanceAndObject3D(world.getCamera().getPosition(), dir, PLAYER_HAND_LENGTH);
Title:
Re: Object3D name
Post by:
Thomas.
on
January 27, 2011, 01:56:21 PM
:)
Code
Select
Expand
String name=null;
if (obj[1]!=null) {
name=((Object3D)obj[1]).getName();
}
Text only
|
Text with Images