1. #1

    How To Get an Object to Roll

    This has been driving me crazy, someone please help.
    I have watched the youtube video on OPE but that doesnt help me at all...

    What I have set up in my track is a Chromeball that I want to roll down a ramp and knock over bowling pins.

    I would like to do this without the biker causing it. In other words, triggering the event when it comes time to.

    How do I get the ball to simply roll when I want it too, please do not send me to the youtube tutorial of OPE because that is not working

    THANKS
    Share this post

  2. #2

    Re: How To Get an Object to Roll

    You can set the balls physics (with or without a trigger) to on and let gravity do the work if the ramp has an incline. Not fast enough?, add an area affect (or 2) to nudge the ball along. Starts moving to late?, adjust the physics bubble.

    Hope that gives at least a little help.
    Share this post

  3. #3
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How To Get an Object to Roll

    Im assuming the ball is on a gradient of sorts,so you will need an area trigger..trigger to a physics source..go into the physics event,but make sure to box is unchecked and type is on..then in the same box,you need to select the event targett.from there you attach it to your ball..

    thats it to set up..once triggered by the area trigger,it will enable physics on your ball.you must place your area trigger at the exact point you want the ball to start its roll.

    An o.p.e. wouldnt work for what you want to achieve.using o.p.es disables its natural physics ability to touch other objects as its only animated..the pins wouldnt get knocked over in other words..if your wanting things to work in the driveline,you must always use a physics event..if its background animation,you use OPEz..hope this helps..
    Share this post

  4. #4

    Re: How To Get an Object to Roll

    Originally Posted by Morfyboy
    Im assuming the ball is on a gradient of sorts,so you will need an area trigger..trigger to a physics source..go into the physics event,but make sure to box is unchecked and type is on..then in the same box,you need to select the event targett.from there you attach it to your ball..

    thats it to set up..once triggered by the area trigger,it will enable physics on your ball.you must place your area trigger at the exact point you want the ball to start its roll.


    Thanks but that didnt work, the biker is still causing the ball to move, and it stops once it gets out of the bikers physics bubble

    I dont understand how the trigger is making the ball roll?
    Share this post

  5. #5
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How To Get an Object to Roll

    Have you got physics checked in the ball itself???

    Because the method i put should work..

    Go into the balls properties,and disable global damping n try it again..

    The trigger is like a switch..your switching on the physics to the ball..like a light for example..trigger-switch.....physics event is the spark. The ball being the light..
    Share this post

  6. #6

    Re: How To Get an Object to Roll

    Originally Posted by Morfyboy
    Have you got physics checked in the ball itself???

    Because the method i put should work..

    Go into the balls properties,and disable global damping n try it again..
    Yes, the physics is on=ball, again the ball stops moving once it leaves the bikers physics bubble, how do i keep it moving???
    Share this post

  7. #7
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How To Get an Object to Roll

    Turn it off...
    remember the code..

    Area trigger----------physics event(check the enable box)----- ball
    Share this post

  8. #8
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: How To Get an Object to Roll

    Originally Posted by MURDERLIZ3R
    Originally Posted by Morfyboy
    Have you got physics checked in the ball itself???

    Because the method i put should work..

    Go into the balls properties,and disable global damping n try it again..
    Yes, the physics is on=ball, again the ball stops moving once it leaves the bikers physics bubble, how do i keep it moving???
    Could you move the physics bubble all the way forward, so its barely behind the rider, but far enough forward to keep the ball rolling, or vise verse if the other direction?

    From reading more, you'll want physics off the ball UNTIL its triggered on like Morfy suggests.
    Share this post

  9. #9
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How To Get an Object to Roll

    My bad..i first said uncheck the enable box..i was wrong on that..
    leave it checked..

    Your physics bubble should not be needed using this method..because the ball hasnt got physics applied,then the bubble has no affect..this is why you dont enable physics on the ball using area trigger to a physics event..this pattern does it for you.

    All i can say is have you got everything used what i said..that should exactly do wot you require..
    Share this post

  10. #10
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How To Get an Object to Roll

    Thnx jarr.. i think hes missing a check box, or not quite getting it, as this is a basic event...

    No offence mate,cos we all start somewhere....
    Share this post