collision problem!!!

Software: Away3D 4.x

datouaizi, Member
Posted: 26 November 2011 05:57 AM   Total Posts: 98

walkerBody.applyCentralForce(new Vector3D(-5, 0, 0));

when i use up code, walkerBody can collide with wall,but down code isn`t work.how to use down code?some code missing?up code motion has accelection.hard to control move uniform.

walkerBody.position = walkerBody.position.add(walkerBody.worldTransform.rotationWithMatrix.transformVector(new Vector3D(-5, 0, 0)));

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X