Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
collision box
05-12-2010, 06:14 PM,
#1
collision box
looks like some recent commit (most likely r2709) broke the collision box extending over the wheels. once again the wheels go through objects marked as collide-able.

--alex--
Reply
05-12-2010, 06:17 PM,
#2
 
Fixed in r2711.
Reply
05-13-2010, 04:25 PM,
#3
 
what happened to the wheels? the only car that still seems to have them is the m7.

--alex--
Reply
05-14-2010, 01:11 AM,
#4
 
Hmm, I've got R2717 and data R534 and it looks fine to me. Can you verify you're using the latest rev of the data repo?
Reply
05-14-2010, 04:30 AM,
#5
 
I can confirm it. Instead of the wheels we have car and driver meshes with tire texture applied. The meshes are from the cars loaded. The last car doesn't have any meshes for the wheels.

[Image: shot0033a75p.jpg]
Reply
05-14-2010, 10:49 AM,
#6
 
yes, i'm using the latest (534 for data and 2718 for the code) and the wheels are not there
[Image: nowheels.jpg]
Reply
05-14-2010, 11:10 AM,
#7
 
r2715 broke the wheel rendering for me.

--alex--
Reply
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
05-14-2010, 04:46 PM,
#9
 
Fixed in r2720. Thanks alex.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)