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
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?
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
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!
WelcomeOriginally Posted by xADMxSmokeyollIf its individual carts spinning on a spinning ride, youll probably need to use physics joints like barry said above vs the OPE.
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
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!)
![]()
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![]()
i'd go withOriginally Posted by xADMxSmokeyoll
the carts would be positioned with 2 CDS using Sin and Cos.Originally Posted by sparkierjonesz
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!
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![]()