1. #1
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Physics joint question

    How do you stop the angular or motors physics joint without turning physics off?
    I figured out how to rotate an camera around the rider or car etc, the joint has completely no problem, but I want to stop it when I release the R-stick button.
    Any help appreciated
    Share this post

  2. #2

    Re: Physics joint question

    R-stick release -> set value event ( set to 0 ) -> variable data source ( attached to angular motor value )
    Share this post

  3. #3
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: Physics joint question

    Angular speed or angular motors enabled?
    Share this post

  4. #4

    Re: Physics joint question

    Angular motor enabled
    Share this post

  5. #5
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: Physics joint question

    Originally Posted by bobozilla
    Angular motor enabled
    Thanks bobo!
    Share this post

  6. #6
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: Physics joint question

    Wait a moment!

    It doesn't immediately stop, it only stops getting speed.

    Is is possible to immediately stop the joint, better saying: freeze the joint?
    Share this post

  7. #7
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Physics joint question

    when you need to stop the rotation, try turning the damping to 100% on the joint and/or try turning an OPE on for 1 tick, this may work, not tested it.
    Share this post

  8. #8
    johnsalis's Avatar Senior Member
    Join Date
    Sep 2014
    Posts
    1,128

    Re: Physics joint question

    Try setting the target velocity to "0" and the max force to a really high number. It works well as a brake system.
    Share this post