1. #1
    emcee's Avatar Senior Member
    Join Date
    Nov 2010
    Posts
    1,747

    what is the best method of raising a glued group of objects

    Hi guys im building a track and wanted to add a physics event but im not sure how to approach it. It involves a glued group of objects that will be based in a pool of acid. This is on the driving line and as the rider approaches the pool of acid i would like the group of objects to slowly rise out of the pool and become part of the driving line. Ive watched a lot of the tutorials but im majorly new to this and wondered if anyone could point out the best method so i can look at the respective tutorial..or if you have time a quick explanation of how yoj would do it.

    Im familiar with the area effect trigger and was going to set it so that when you ride past a certain part of the track this event happens in front of you. Thanks for any help you can offer.
    Share this post

  2. #2

    Re: what is the best method of raising a glued group of obje

    Originally Posted by emcee
    Hi guys im building a track and wanted to add a physics event but im not sure how to approach it. It involves a glued group of objects that will be based in a pool of acid. This is on the driving line and as the rider approaches the pool of acid i would like the group of objects to slowly rise out of the pool and become part of the driving line. Ive watched a lot of the tutorials but im majorly new to this and wondered if anyone could point out the best method so i can look at the respective tutorial..or if you have time a quick explanation of how yoj would do it.

    Im familiar with the area effect trigger and was going to set it so that when you ride past a certain part of the track this event happens in front of you. Thanks for any help you can offer.
    Triiger >>> State event>>>> OPE, curved data source and Impulse trigger.

    Set up the OPE, data source and impulse trigger first and get the object to move how you want by pressing back button to trigger it in the editor. Then uncheck the enable box for all 3 and connect the area trigger and state event (set to on btw). Now it will only activate when the area trigger is activated.

    Check this thread to view a visual tutorial on OPE's. The example is for a rotation, you will want a position move instead but other than that its the same principle. <!-- l --><a class="postlink-local" href="http://www.redlynxgame.com/forum/viewtopic.php?f=83&t=10376">viewtopic.php?f=83&t=1 0376</a><!-- l -->

    Hope that helps!
    Share this post

  3. #3
    emcee's Avatar Senior Member
    Join Date
    Nov 2010
    Posts
    1,747

    Re: what is the best method of raising a glued group of obje

    Holy hell that sounds complicated

    Cheers ill see you in a couple of months after i make sense of it haha.

    Thanks for the quick response mate.
    Share this post

  4. #4

    Re: what is the best method of raising a glued group of obje

    Nah, it sounds worse than it is!

    This tutorial https://docs.google.com/folder/d/0B1...IOzr8oNRAaUqmw

    needs changes to make it rise not rotate. Where it says "uncheck modify position" ignore that whole info box. Simply use the position, x-axis (or one of the others depending on how things are rotated in the glue). Press 'Y' on that and select the data source.

    In the top box of the tutorial, simply input a number that makes your object rise the correct amount (easiest way is trial and error, without getting more complicated). Then choose how long you want the rise to take.

    All we're adding is an area trigger linked to a state event to activate the OPE events once we have de-activated them by unchecking the enabled box!
    Share this post

  5. #5

    Re: what is the best method of raising a glued group of obje

    If there is any chance the rider is going to be touching it while it moves i would use physics as the ope emulates movement frame by frame meaning it sometimes digs in on the bikes wheels and causes silly faults.

    if it stops in its new position before the rider reaches it then ope as Barrybarfly suggested is perfect
    Share this post

  6. #6

    Re: what is the best method of raising a glued group of obje

    Originally Posted by oXCuBXo
    If there is any chance the rider is going to be touching it while it moves i would use physics as the ope emulates movement frame by frame meaning it sometimes digs in on the bikes wheels and causes silly faults.

    if it stops in its new position before the rider reaches it then ope as Barrybarfly suggested is perfect
    This is true. If it is in place before the rider reaches it, in theory an OPE should mean less lag as its an animation and not an actual physics event. But if it will be moving when the rider is on it then you almost HAVE to use a physics joint to prevent the issues mentioned. Even if the bike doesnt stick, it often still behaves a little strangely.
    Share this post

  7. #7
    emcee's Avatar Senior Member
    Join Date
    Nov 2010
    Posts
    1,747

    Re: what is the best method of raising a glued group of obje

    Thanks for the help i got everything working apart from triggering it. I disabled the 3 enabled boxes...set an area on hit trigger and aimed it to the OPE and its not working when i drive through the hit box. Any ideas?
    Share this post

  8. #8

    Re: what is the best method of raising a glued group of obje

    Originally Posted by emcee
    Thanks for the help i got everything working apart from triggering it. I disabled the 3 enabled boxes...set an area on hit trigger and aimed it to the OPE and its not working when i drive through the hit box. Any ideas?
    Set the area trigger to hit a state event. Set the state event to target the OPE, data source and impulse trigger.
    Share this post

  9. #9
    emcee's Avatar Senior Member
    Join Date
    Nov 2010
    Posts
    1,747

    Re: what is the best method of raising a glued group of obje

    Sorted thanks a lot! Its actually not the hard and looks pretty sweet when its working well!
    Share this post

  10. #10
    emcee's Avatar Senior Member
    Join Date
    Nov 2010
    Posts
    1,747

    Re: what is the best method of raising a glued group of obje

    One more question if i may...can this moving object be linked to a sound event...ie an elevator noise while it moves and then a bang when it stops? The only way i managed so far was to have and on hit area trigger that sets the noise off when the rider goes through...i set this as well as i could but of course if the rider is out of time with the event the bang effect will happen out of sync. Any ideas?
    Share this post