Hi fabrice Not at all. Seems to me it stops when camera goes far from character. The distance between both characters is about 200 units. The initial camera's distance of characters is about 400 units. My actual camera is TargetCamera with Perspective lens. I move the camera with tweenlite with a onComplete defined a camera.lookAt(opposite character). That's the weirdo ... in initial camera position both characters have animation ... when camera goes to character 1, character 2 animation stop, beside the fact the distance from character 1 and character 2 is smaller than initial camera position... and vice versa. I try change maxZ=10000 in Nearfield/Frustum Clipping without sucess :-|. The maxZ it's about view coordinates or about global coordinates? I must be missing something....
Thanx, all ideas are welcome. On 8 jan, 20:54, Fabrice3D <[email protected]> wrote: > does it stops only when camera is still? > Fabrice > > On Jan 8, 2011, at 8:28 PM, Texugo wrote: > > > Aji > > > I try your tip and have same results about NearfieldClipping (in > > examples is already use PerspectiveLens in camera). Dawn weirdo > > problem .... > > How about the position of your characters in your game? All of it are > > in positive Z axis? Did you change something in min/maxX and min/maxY > > clipping? > > In your game camera changes position and have no problem ? > > > Thanx again > > > On 8 jan, 15:57, Aji Pamungkas <[email protected]> wrote: > >> Hi Texugo, > > >> Wooowww. You're making a fighting game, coolll... > > >> I also use MD2, and I don't have the same problem like you. After seeing my > >> game's code, i realize that i use Away3D 3.5, FrustumClipping, > >> PerspectiveLens, and i don't change maxZ at all. And when my character is > >> far away from the camera, it's animation are still working just fine. > > >> On Sat, Jan 8, 2011 at 5:02 PM, Texugo <[email protected]> wrote: > >>> Thanx for reply Aji ... and sorry about my delay in reply 'cos i have > >>> to make a little demo to you see by yourself the problem. > > >>>http://www.doutorpalhaco.com/away3d_example/ > > >>> I guess my problem is not about know or not the model animations. In > >>> the beginning of scene both characters are animated. And then, in > >>> Nearfiledclipping, when camera approaches to character01, character02 > >>> stops animation. When camera goto character02 this character play > >>> again your animation (by itself, cos all animations are in loop), and > >>> character01 stop your animation (by itself). If i use > >>> RectangleClipping i have no problem with animation, but scene cracks, > >>> besides the fact i've increase number of faces of scene. > > >>> My guess about Clipping problem and not animation problem is about > >>> everything outside of view clipping is not updated (animations > >>> included). Does'nt matter how i change NearfieldClipping.maxZ or > >>> NearfielClipping.minZ the results are the same. Someone know if minZ > >>> and maxZ are absolute in world coordinates or relative in view > >>> coordinates? There's some other way, in rectangleClipping, to make my > >>> scene don't crack (this solve the problem too). > > >>> Thanx , all idea will be welcome! > > >>> On 6 jan, 02:16, Aji Pamungkas <[email protected]> wrote: > >>>> Hi Texugo, > > >>>> Could you please provide us the example ? > >>>> IMO, i don't think there is a connection between clipping and model's > >>>> animation. Maybe, you are trying to call an animation name in character 2 > >>>> which doesn't exists. > > >>>> On Thu, Jan 6, 2011 at 4:52 AM, Texugo <[email protected]> wrote: > >>>>> No Ideas buddies? Any idea will be welcome! > > >>>>> On 4 jan, 16:05, Texugo <[email protected]> wrote: > >>>>>> Hi buddies > >>>>>> Happy new year 4 all us :-) > > >>>>>> Well ... i got a problem. I have a almost complete turn-based game > >>>>>> made in away3d, but i have a problem about clipping and animations. > >>>>>> I got a scene with 2 animated md2 characters in a closed room and the > >>>>>> camera must sometimes be near of character 1, and sometimes must be > >>>>>> near of character 2. For the closed room polygons does´nt break i > >>>>>> about ot use NearfieldClipping. > >>>>>> The problem is ... when camera comes to character 1, character´s 2 > >>>>>> animation stop and vice-versa. Then i think "Theres must be a problem > >>>>>> in z values of NearfieldClipping". Well ... my 2 characters got a > >>>>>> distance between it of 200 units ... then i change maxZ value´s to > >>>>>> 1000 and does´nt work ... and does´nt matter the maxZ value ... one > >>> of > >>>>>> two character animations stop!. I try FurstumClipping and got the > >>> same > >>>>>> problem. If i use RectangleClipping the polygons of closed rom > >>> breaks. > > >>>>>> Please, i dont know how to solve this ... besides i got months of > >>> work > >>>>>> in this game :-| > >>>>>> Thanx > > >>>>>> Just a little note: the camera runs and rotate in scene, apply > >>>>>> position and apply rotations seems make no diference, i dont´t know > >>> if > >>>>>> this helps... > >>>>>> Another one, i use away3d 3.5. > >>>>>> Thanx Again > > >>>> -- > >>>> Aji Pamungkas > > >> -- > >> Aji Pamungkas
