1. #1
    IImayneII's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,060

    Swing/stopping the force

    Hi

    I am trying to make a swing, like there is in the example (complicated) track. I have used that setup but my swing keeps on going, I can't seem to stop the force. It looks like it stops a bit when it hits the last area trigger, but then keeps on going. (edit: seems like the slowing down is just because I start driving on the swing)

    This is the setup:

    area trigger - physics on -
    (event filter) set value event (150) - variable data source (0) - linked to the local force value
    (event target) glued object with local force


    area trigger - state event (off) - local force


    I also get a glitch when I am on the swing, it dissapears for a second.
    Share this post

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

    Re: Swing/stopping the force

    why not use a physics event "off" to stop the swing, or turn up the angular dampening to 100% with a set value event and a variable data source that is linked with the angular dampening?
    Share this post

  3. #3

    Re: Swing/stopping the force

    Physics off on swing object after trigger is hit is what you need
    Share this post

  4. #4
    IImayneII's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,060

    Re: Swing/stopping the force

    I tried turning the physics off but then the swing would stop instantly and that was not what I wanted because it made it too hard. I have been able to get it to work like I want it, not sure what I did previously wrong tough.

    Anyway, thanks for the help
    Share this post

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

    Re: Swing/stopping the force

    Originally Posted by basslineux001
    I tried turning the physics off but then the swing would stop instantly and that was not what I wanted because it made it too hard. I have been able to get it to work like I want it, not sure what I did previously wrong tough.

    Anyway, thanks for the help
    try my second suggestion posted above and check the interpolate on the variable data source and it will not instantly stop
    Share this post