1. #1

    How to make something spin 360degrees and move in a circle?

    Right, hello guys.
    I'm not very good with words so this may sound abit nutty..

    I've got a little fairground cart which is constantly spinning, (360 degree) and I want to glue it to a pole above so it can go around in a circle like formation.

    So I've got them both moving how I want, but when I glue to cart to the pole it only moves with the pole and it doesn't spin anymore... I've tried using point to points, hinges, everything..

    Thanks
    Share this post

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

    Re: How to make something spin 360degrees and move in a circ

    Did you try gluing the entire thing and spin the glue pivot? Might be your best bet.

    If you can take a pic I can understand better what you're trying to achieve.

    Do you want the cart to spin 360, while the whole RIDE spins 360 also?
    Share this post

  3. #3

    Re: How to make something spin 360degrees and move in a circ

    Glue the cart together and make it spin with an OPE. Then use a physics joint to rotate the cart around the central point of the ride and a physics joint to rotate the pole around the ride. That would create the effect you want, but there's probably an easier way to do it! lol
    Share this post

  4. #4

    Re: How to make something spin 360degrees and move in a circ

    I'll take a pic.
    I can't right now but I will tonight,

    I'll try to glue it all and spin the pivot when I get home.
    I didn't expect replies so fast

    Thanks guys!
    Share this post

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

    Re: How to make something spin 360degrees and move in a circ

    Originally Posted by xADMxSmokeyoll
    I'll take a pic.
    I can't right now but I will tonight,

    I'll try to glue it all and spin the pivot when I get home.
    I didn't expect replies so fast

    Thanks guys!
    Welcome If its individual carts spinning on a spinning ride, youll probably need to use physics joints like barry said above vs the OPE.
    Share this post

  6. #6

    Re: How to make something spin 360degrees and move in a circ

    well you could also do it with an ope pretty easy

    1local looping cds to let it turn 360°

    2global looping cds sine and 1 with an start offset of 1/4 of the total duration
    Share this post

  7. #7

    Re: How to make something spin 360degrees and move in a circ

    Sorry i didnt post a pic lastnight, i didnt get a chance to go on the xbox.
    Anyway here it is, sorry its not better..
    Also i should probably just say that the 'Bar/Pole' whatever you wanna call it isnt going to stay like that, i'll try to make it look as authentic as i can

    I tried to take a pic whilst it was moving aswell but as you can see it doesnt look that great, the carts are spinning in a different direction to the pole. (if that makes any difference i do not know!)

    Share this post

  8. #8

    Re: How to make something spin 360degrees and move in a circ

    oops..
    Heres the link to the photo

    http://www.flickr.com/photos/theolli...in/photostream

    Wow, i didn't actually realise how bad that photo was until i saw it on my laptop...
    If you need a better one just say
    Share this post

  9. #9
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: How to make something spin 360degrees and move in a circ

    Originally Posted by xADMxSmokeyoll
    the carts are spinning in a different direction to the pole. (if that makes any difference i do not know!)
    i'd go with

    Originally Posted by sparkierjonesz
    well you could also do it with an ope pretty easy

    1local looping cds to let it turn 360°

    2global looping cds sine and 1 with an start offset of 1/4 of the total duration
    the carts would be positioned with 2 CDS using Sin and Cos.
    say your carts are 4 meters from the center pole, then set both CDS to Sin, Start to -4 and End to 4, duration to 240 ticks (4seconds)

    setting the CDS to Sin its output over time will be
    0 seconds output -4
    1 second output 0
    2 seconds output 4
    3 seconds output 0
    4 seconds output -4
    and as Cos is just Sin but 90 degrees out of phase, you need 1 CDS to be offset by 1/4 the duration.
    so
    add the CDS outputs to the position of the center pole (using object position info), add Sin CDS to X and Cos CDS to Z, put these values into the carts OPE movement X/Z set on Global, now you're free to rotate the carts as you want.

    if you have 4 carts, increase the CDS offsets (Sin/Cos) by 90 degrees for each one, setting the starting locationa 90 degrees apart in the circular path, so:
    1st cart, Sin Offset=0, Cos Offset=60
    2nd cart, Sin Offset=60, Cos Offset=120
    3rd cart, Sin Offset=120, Cos Offset=180
    4th cart, Sin Offset=180, Cos Offset=240 or 0

    hope you understand what im trying to say!
    Share this post

  10. #10

    Re: How to make something spin 360degrees and move in a circ

    Holy crap...
    You lost me
    I'll give it a go though, thank you so much for helping me!

    However if I can't do it, it would be really appreciated if someone could explain it to me like I was a 7 year old, thanks
    Share this post