1. #1

    Placing the physics bubble

    Hey guys.

    I want to have an Explosion in the middle of the track wghen i cross the finish line.
    I set it up with a hit Trigger and a break Event together witha a camera Event that Points to the camera in the middle of the track.
    Everything works, but the bomb does not explode, only break.
    i tested the same with a bomb near the finish and that worked.
    so my guess is the physics bubble.
    But i couldnt find out how to place the bubble to a certain Point with a hit Trigger.
    I tried with a object Position even and a dummy object, but had no luck..

    Can anyione shed some light or can i step by the Editor stream ( should be today?) and you guys can Show me?
    Share this post

  2. #2
    Link the Bubble to a Dummy Object, then use an OPE with it and the XYZ coordinates of the rider throughout the track. Then at the end, you can move that Dummy elsewhere and the Bubble will follow .
    Share this post

  3. #3
    Originally Posted by JolanXBL Go to original post
    Link the Bubble to a Dummy Object, then use an OPE with it and the XYZ coordinates of the rider throughout the track. Then at the end, you can move that Dummy elsewhere and the Bubble will follow .
    hmm, that sounds as if it might work!.
    I will try that.
    Ok, follow up: I want not one, but several explosions troughout the track (basically the track should explode cp after cp, from finish to start).
    Can I make my camera move along the track, taking the dummy object (and the bubble) with it and delay each CP Explosion so that it explodes when the camera reaches a certain Point?
    Share this post

  4. #4
    RaketeAal397's Avatar Member
    Join Date
    Mar 2014
    Location
    Hell
    Posts
    153
    it'll be MUCH easier if you don't use a bomb but just the explosion itself (the effect) since, if i get you right, you want an explosion there??
    then you can as well trigger the explosions whenever you want you just have to find the right timing. i'm not sure but i think triggers don't work anyway if you finish the track but as i said i'm not shure about this..
    Share this post

  5. #5
    Just_Shogun's Avatar Community Developer
    Join Date
    Jan 2010
    Location
    Helsinki
    Posts
    665
    Originally Posted by JolanXBL Go to original post
    Link the Bubble to a Dummy Object, then use an OPE with it and the XYZ coordinates of the rider throughout the track. Then at the end, you can move that Dummy elsewhere and the Bubble will follow .
    Pretty much this.

    there are a few ways and this is about the best I would come up with.

    for the camera you cave it follow the dummy instead of the rider but the movement could be weird like that. I would switch to a custom camera and animate that backwards with your physics bubble.

    like the other suggestion it could be easier not using physics but if you want objects to fly around it would look better with the physics.

    i still might play around with an example of this as it's something I've never done. I'll post a video later if I do.
    Share this post

  6. #6
    Just_Shogun's Avatar Community Developer
    Join Date
    Jan 2010
    Location
    Helsinki
    Posts
    665
    Originally Posted by JolanXBL Go to original post
    Link the Bubble to a Dummy Object, then use an OPE with it and the XYZ coordinates of the rider throughout the track. Then at the end, you can move that Dummy elsewhere and the Bubble will follow .
    Pretty much this.

    there are a few ways and this is about the best I would come up with.

    for the camera you cave it follow the dummy instead of the rider but the movement could be weird like that. I would switch to a custom camera and animate that backwards with your physics bubble.

    like the other suggestion it could be easier not using physics but if you want objects to fly around it would look better with the physics.

    i still might play around with an example of this as it's something I've never done. I'll post a video later if I do.
    Share this post

  7. #7
    ok cool, thanks guys.

    i definatly need that physics, because i want things to fly arround.

    i have the checkpoint so that all physics of every object is disabled and are enabled when the player hits the bombs in the area.
    and when i cross the finish i want all the checkpoints to blow up one after another and the camera should fly across them when they blow up
    Share this post

  8. #8
    Just_Shogun's Avatar Community Developer
    Join Date
    Jan 2010
    Location
    Helsinki
    Posts
    665
    Been playing around with this. There seems to be an issue with using an animated object as a target for the physics bubble. its possible to end up in a situation where you spawn outside of the bubble after faulting. Still playing around with options. Will post something soon if I find a solution.

    edit: I don't think I'll get this tonight. I should have it working but it's not working

    I switched the game character to a dummy object at the finish. Then animated the dummy through the course with a custom camera following. It all appears to be working but at some point it still stops having physics.

    edit 2: I take it back. I've got it. Was just a malfunctioning physics trigger. I'll take a quick video of what I did.

    Share this post

  9. #9
    Just_Shogun's Avatar Community Developer
    Join Date
    Jan 2010
    Location
    Helsinki
    Posts
    665
    Been playing around with this. There seems to be an issue with using an animated object as a target for the physics bubble. its possible to end up in a situation where you spawn outside of the bubble after faulting. Still playing around with options. Will post something soon if I find a solution.

    edit: I don't think I'll get this tonight. I should have it working but it's not working

    I switched the game character to a dummy object at the finish. Then animated the dummy through the course with a custom camera following. It all appears to be working but at some point it still stops having physics.

    edit 2: I take it back. I've got it. Was just a malfunctioning physics trigger. I'll take a quick video of what I did.

    Share this post

  10. #10
    Originally Posted by cannibalshogun Go to original post
    Been playing around with this. There seems to be an issue with using an animated object as a target for the physics bubble. its possible to end up in a situation where you spawn outside of the bubble after faulting. Still playing around with options. Will post something soon if I find a solution.

    edit: I don't think I'll get this tonight. I should have it working but it's not working

    I switched the game character to a dummy object at the finish. Then animated the dummy through the course with a custom camera following. It all appears to be working but at some point it still stops having physics.

    edit 2: I take it back. I've got it. Was just a malfunctioning physics trigger. I'll take a quick video of what I did.




    oh wow. awesome.
    i think this will help me a lot.
    a few good tips in there aswell with the effect following the bubble to see where it is.
    Ill see what I can come up with. Thanks Shogun.


    Oh, and, yeah
    its possible to end up in a situation where you spawn outside of the bubble after faulting
    I have also had this behavior.
    Ive saved a Clip of it and will post it for the lolz later.
    its hilarious
    Share this post

  11. #11
    ok, i havent had time yet to try things out, but in the meantime have a laugh with this

    Share this post

  12. #12
    ok guys, have it working finally




    thanks guys, especially shogun who gave me a proper idea how to do it. you rock.


    but i wasted like 2 hours figuring out why my triggers dont work until I found that area triggers dont get triggered by dummy objects, although i have explizitly selected the dummy object as a trigger object of the are trigger.
    I think this is a bug? because I used invisible objects, with turned on physics and disabled world gravity (so they dont fall on the ground) and used a hit trigger on them and the dummy object and that worked. it just didnt work with area triggers. had a friend to test it out also and he had the same problem.


    anyway, its my 2nd track and you can play it on ps4, its called "Sabotage" and is about infiltrating this dubious facility.
    Share this post