nothing had change is the collison code.
I do no undernat when you say teh collision is contrel by OgreNewt.
do you have debug display on?
can you make a movie?
Moderators: Sascha Willems, walaber
Julio Jerez wrote:nothing had chenge is the collison code.
I do no undernat when you say teh collision is contrel by OgreNewt.
do you have debug display on?
can you make a movie?
OgreNewt::ConvexCollisionPtr collision = OgreNewt::ConvexCollisionPtr(new OgreNewt::CollisionPrimitives::Cylinder(world, radius, height, 1));
OgreNewt::ConvexModifierCollision* modifiedCollision = new OgreNewt::ConvexModifierCollision(world, collision, 1);
Ogre::Quaternion rotation(Ogre::Degree(90), Ogre::Vector3::UNIT_Z);
Ogre::Vector3 rotatedScale(scale.y, scale.x, scale.z);
Ogre::Matrix4 modifierMatrix;
modifierMatrix.makeTransform(centerOffset, rotatedScale, rotation);
modifiedCollision->setScalarMatrix(modifierMatrix);
OgreNewt::ConvexCollisionPtr col(modifiedCollision);
OgreNewt::Body* body = new OgreNewt::Body(world, col, objectType);
Julio Jerez wrote:Some time it is too tough askin a desigend to chaneg teh geomnety so dramatically, for what I see ther is a lot of work put into that.
...
The solution is to filter the entire singe side faces, the either create a SceneCollision, or a more than one collision tree. The two collision tree solution is two pass solutions.
...The only requirement is the you have to be able to identify those special face by some means.
rvangaal wrote:BTW the game is called 'Racer' (I should have added some extra though) and is freely available at http://www.racer.nl. There's a commercial version as well which we use internally (but then with motion platform, multiple computers, spectating etc) at http://www.hexatechracing.com
Julio Jerez wrote:this Is not too far off from reality since in reality the face will have real sickness.
winstrol wrote:Hey, Julio, have you looked at the jumping car bug what I told you before?
-(struct iNewtonUserJoint*) DGRaycastVehicleCreate
-(void) DGRaycastVehicleAddTirefriction
-(void) DGRaycastVehicleSetTireTransformCallback
-(int) DGRaycastVehicleGetTiresCount
-(void*) DGRaycastVehicleGetTiresUserData
-(void) DGRaycastVehicleGetTireMatrix
you mean wheel turn to go left and right,
can you working this on the Mac? it is easier to develop and teh just port to the Iphone?
Users browsing this forum: No registered users and 2 guests