Model flap

Aug 5, 2011 at 3:12 AM
Edited Aug 5, 2011 at 3:18 AM

Can you tell me  why the model flap(flying) in babylontoolkit-89961 demo .

where it's code ?

Is it in class related to Scene?

Coordinator
Aug 5, 2011 at 6:52 AM

I do that by animating the Viper.Y et .Y properties:

 

        viper.Z = (float)(2 * Math.Cos(angle));
            viper.Y = (float)(0.5 * Math.Sin(angle));
            angle += 0.01f;

Aug 6, 2011 at 1:20 AM
Edited Aug 6, 2011 at 1:29 AM

 

Thank you very much!

Always thought related to load models or load scene , ignored the mainpage.cs of codes!!!!!

 

 

One very important question is that the demo debugging in my pc ,loading your model Viper  is normal, but the problem is loading my .obj model .

1.Load ur model in my pc and pc of my friend debugging normal;

2.Load my model in my pc ,part of the model disappeared.Only in a friend's computer is normal and everyone else appears the same problems as my.

I don't know if it related the Computer graphics??

 

Have another  question ,in surface contact place of the model will be constantly flickering!Excuse me, is the problem of model exported?I tried and find

that model exported by 3dmax flashing more serious, exported by maya basically don't flash.Is it because the precision of the . Obj model different?

One is the decimal point four, another is a decimal point six?

 

I don't know if you can understand my meaning, and my question is a little more, but still I hope you can give me an answer?Thanks again!

 

Coordinator
Aug 9, 2011 at 6:05 AM

It should be related to your gfx card I think.

For the flickering it can came from your model of from the projection matrix : try to increase near plane and decrease far plane to see if it resolves the issue.