www.jpct.net
Bones - Skeletal and Pose Animations for jPCT/jPCT-AE => Bones => Topic started by: zbych on July 28, 2012, 04:44:03 pm
-
Hi.
I was try to change visibility of AnimatedGroup with something like this:
animGroup.getRoot().setVisibility(false);
but it is not working. How can I change the visiblitiy of animated group? I can remove it from world but in that case I have to give lower level objects access to World object.
-
root object is for easily moving and rotating the group.
use this:
for (Animated3D o : animatedGroup) {
o.setVisibility(false);
}
-
or you can use the new method AnimatedGroup.setVisibility(..)