Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cylinder wheels question
06-07-2013, 05:39 AM, (This post was last modified: 06-07-2013, 05:39 AM by CrystalH.)
#3
RE: Cylinder wheels question
Sure, I'm just asking because I want to add this in StuntRally.
I've seen in code that you add cylinders for wheels:
Code:
        btCollisionShape * shape = new btCylinderShapeX(size);
I can't find though where do you set its position or rotation ? Does it move with suspension ?
It does rotate with steering angle, I've seen that in game.

The WheelContactCallback is interesting, do I get it right that it ignores contacts from the upper half of wheel ?
Is it a possible implementation (could it work) to have wheel cylinder contacts (from bullet callback) feeding wheel contacts in cardynamics ? (ofc in SR, not in VDrift, since you have bezier patches).
Reply


Messages In This Thread
Cylinder wheels question - by CrystalH - 05-18-2013, 06:15 AM
RE: Cylinder wheels question - by NaN - 05-18-2013, 07:17 AM
RE: Cylinder wheels question - by CrystalH - 06-07-2013, 05:39 AM
RE: Cylinder wheels question - by NaN - 06-07-2013, 07:33 AM
RE: Cylinder wheels question - by CrystalH - 06-07-2013, 07:48 AM
RE: Cylinder wheels question - by NaN - 06-07-2013, 08:33 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)