Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - wylng

#1
Support / Did anybody use navigate mesh?
January 17, 2014, 07:39:22 AM
I want to use navigate mesh  to find route, but I don't have idea how to.
how to create navigate mesh,  how to navigate through the mesh, the basic theory is clear, but implement is another thing.
Do anybody help me, I want source code and demo app
Thanks a lot
#2
Support / Object3D.rotate[X,Y,Z] confuse me.
October 25, 2013, 01:30:58 PM
I want to rotate my air plane when it's turning, so I call Object3D.rotateZ for help, it works alright.
but, when my plane climbing up, I call rotateX first, then call RotateZ, it does not work the way I want it to, RotateZ seems to rotate the plane around it's old Z axis (before rotateX was call), and I want to rotate the plane around it's new Z axis. (the plane Z asix changes after I call rotateX)
thanks
#3
yes, I rotate camera 180.
maya's coordinate system is diffent from jpct

#4
I do it in render thread, and I calculate the distance to its face.

Object3D.calcMinDistance() only returns COLLISION_NONE occasionally, it return the right value most the time, and my car go straight on the road, I want to calculate the right Y coordinate and rotateX to place my car on the road.

Does the model affect the calculate?  Is there any restrictions on the model? 
#5
I increased this value to 100 * 30, but that won't help.