简体   繁体   中英

How to make a rotating plane rotate (move) an object sitting on it

I'm trying to make a car (or any object) in rotate when sitting on a plane surface or inside a tube shape. Currently the car acts like it has 0 grip on those surfaces (even tough the car moves without any problems when accelerating, but the objects don't move the car)

What I've tried so far:

  • putting a Physics Material on the tube & plane but has no effect
  • tuning the parameters of the Physics Material, no effect
  • marking the animation's Update Mode of the tube and plane as "Animate Physics", no effect
  • increasing the traction of the car (uses RCC), no effect
  • increasing the mass of the car..nothing
  • increasing mass of wheels, nothing
  • tried googling the problem, either didn't write the right terms or just couldn't find anything

Any help would be appreciated. Thanks!

You need to rotate the plane and the tube using their Rigidbody with the AddTorque method or similar. If you just rotate them via their transform it has no effect on the physics system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM