1. #1

    Why won't the rider stay with the object?

    I'm building a track right now and having some serious issue with this. All I'm trying to do is have the rider approach a platform and then on contact, have that platform shoot the rider upwards. I don't mean like an elevator. I mean like a spring...that sort of shooting up. I really don't know why the rider won't stay with platform when it shoots up. It's almost as if the platform passed through the rider. I believe I have everything set up right because on contact the platform does shoot up, but the rider doesn't go with it. Any help with this would be appreciated. I'm using an OPE for this.
    Share this post

  2. #2

    Re: Why won't the rider stay with the object?

    Originally Posted by Asubayah39
    I'm building a track right now and having some serious issue with this. All I'm trying to do is have the rider approach a platform and then on contact, have that platform shoot the rider upwards. I don't mean like an elevator. I mean like a spring...that sort of shooting up. I really don't know why the rider won't stay with platform when it shoots up. It's almost as if the platform passed through the rider. I believe I have everything set up right because on contact the platform does shoot up, but the rider doesn't go with it. Any help with this would be appreciated. I'm using an OPE for this.
    Thats your problem right there. If the object contacts with the rider/bike during movement, you will need to use a physics joint. A simple slider in this case.
    Share this post

  3. #3

    Re: Why won't the rider stay with the object?

    Wouldn't a physics joint make it act like an elevator then? I've used physic joints before and they always seem to act like elevators rather than springs.
    Share this post

  4. #4

    Re: Why won't the rider stay with the object?

    Originally Posted by Asubayah39
    Wouldn't a physics joint make it act like an elevator then? I've used physic joints before and they always seem to act like elevators rather than springs.
    It depends on your force settings. You can set the force to be a "fast elevator" which will cause the bike to shoot upwards, losing contact with the "elevator" and continuing its momentum after the "elevator" has stopped moving.
    Share this post

  5. #5

    Re: Why won't the rider stay with the object?

    Hmm...perhaps I could give that a try. I haven't messed around with the force settings yet. I'll try it out. Thanks.
    Share this post

  6. #6

    Re: Why won't the rider stay with the object?

    you can make it act like a preloaded spring by seperating the physics joint in 2 parts

    http://www.youtube.com/watch?v=inuDEv8SpDo
    this vid explains it better

    for the preloaded spring, disable the physics and let an hit trigger activate a physics event
    Share this post

  7. #7
    JJtheGerman's Avatar Trials Developer
    Join Date
    Mar 2014
    Location
    Finland
    Posts
    611

    Re: Why won't the rider stay with the object?

    Just to clear this issue up because it seems like a lot of people have problems using ope´s in combination with the rider.
    OPE usually get impulses of 0.16 / 1 tick, the platform is there for not "really" moving but more like teleporting to a new position really fast.
    In case of the elevator for example, the platform is slowly teleporting inside of the rider because the rider doesnt have contact for some time falls down a little bit, and the ope constantly teleports the object/plattform more into the rider...
    Hope this helps,

    PS: Everything that is supposed to move and has contact with the rider should be done with Physics!
    Share this post