Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
collision box
05-14-2010, 11:25 AM,
#8
 
if i apply this patch i get the wheels back
Code:
--- src/car.cpp (revision 2718)
+++ src/car.cpp (working copy)
@@ -320,10 +320,10 @@
                orientation = initial_orientation;

                // temporary hack for cardynamics
-               wheelmodelfront.SetVertexArray(wheelmeshgen[0]);
-               wheelmodelrear.SetVertexArray(wheelmeshgen[2]);
-               wheelmodelfront.GenerateMeshMetrics();
-               wheelmodelrear.GenerateMeshMetrics();
+//             wheelmodelfront.SetVertexArray(wheelmeshgen[0]);
+//             wheelmodelrear.SetVertexArray(wheelmeshgen[2]);
+//             wheelmodelfront.GenerateMeshMetrics();
+//             wheelmodelrear.GenerateMeshMetrics();

                dynamics.Init(*world, bodymodel, wheelmodelfront, wheelmodelrear, position, orientation);
                dynamics.SetABS(defaultabs);

--alex--
Reply


Messages In This Thread
collision box - by alex25 - 05-12-2010, 06:14 PM
[No subject] - by NaN - 05-12-2010, 06:17 PM
[No subject] - by alex25 - 05-13-2010, 04:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-14-2010, 01:11 AM
[No subject] - by NaN - 05-14-2010, 04:30 AM
[No subject] - by alex25 - 05-14-2010, 10:49 AM
[No subject] - by alex25 - 05-14-2010, 11:10 AM
[No subject] - by alex25 - 05-14-2010, 11:25 AM
[No subject] - by NaN - 05-14-2010, 04:46 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)