Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cylinder wheels question
06-07-2013, 07:48 AM, (This post was last modified: 06-07-2013, 07:55 AM by CrystalH.)
#5
RE: Cylinder wheels question
Ah so wheel shape pos/rot is being set here:
CARDYNAMICS::UpdateWheelTransform()
body->setChildTransform(i, btTransform(rot, pos));

Hmm, so cylinder wheels are shapes inlcuded in chassis rigid body.
This means if I collide with wheel, it acts just like it was chassis.
I.e. no unsprung mass from wheel acting through suspension on chassis.

Would it be possible (or make sense) to have wheel cylinders as dynamic rigid bodies, get their contacts from bullet callback, feed one of those to tire contact, compute simulation like always, then get wheel position from suspension and use it to set wheel cylinders pos and rot.

Can we maybe use a computed normal by just vector of contact point - wheel center ?
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: 1 Guest(s)