Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Problem with ADD TORQUE

Discussion in 'Physics' started by megmaltese, Sep 10, 2018.

  1. megmaltese

    megmaltese

    Joined:
    Mar 19, 2009
    Posts:
    2,153
    I don't really know if this is a problem coming from Playmaker, Unity or PhysX itself.

    Fact is, I add torque to the wheels of my vehicle, but there seem to be a ceiling to the power that can be added, and I'm EARLY hitting that ceiling.
    In fact, my vehicle can't go past something around 80 Km/h (didn't check exactly, still have to make the speedometer, but surely it's not the 300 Km/h I need).

    I tried to put 100, 1000, 10000 and millions, but it simply doesn't change anything past 100 I think.

    My hypothesis are:
    • Playmaker has a standardized ADD TORQUE action that applies the force to a point too near to the axis, so increasing the power doesn't really add up. This can be easily circumvented.
    • Or, it's Unity to have this problem. This would be a little bit harder to fix.
    • Or, PhysX doesn't "expect" that such high torque added to an object, so it's limited in this regard. If so, I'm f**ked. But I don't think it's probable.

    Does someone have any idea about what's going on?
    I'm stuck, because I'm making a racing game, not a pizza delivery simulation

    You can download a build to see what's going on (ZIP file for Windows x64):
    https://drive.google.com/open?id=1cn_2H1LOLC4BJcFpAJXoGI0426JM4YiO

    P.S.: oh and before somebody comes up with this, of course I have put to 0 both DRAG and ANGULAR DRAG :D
     
  2. YBtheS

    YBtheS

    Joined:
    Feb 22, 2016
    Posts:
    102