rotate object on top of another object that rotates?

Get help using Construct 2

Post » Wed Nov 02, 2016 4:25 pm

My disks have bullet behavior. When they are created offscreen (above/below viewport) they move at 90/180 degrees.

With the help of @99Instances2Go in my older post https://www.scirra.com/forum/viewtopic.php?f=147&t=183022&p=1074558#p1074558 I got the ball to move in the dirrection with the disk that it is sitting on top of.

But now, I have added a rotation to the disks. The disks that move at bullet angle of motion - 90 degrees rotate clockwise, and the disks that move at bullet angle of motion - 180 degrees rotate counter-clockwise.

How can i get the ball to rotate along with and in the direction of the disk that it is currently on top of? Keeping in mind the ball has to roll from disk to disk. I've tried pinning the ball to the disk if there is no gamma input, but that didn't work. Tried rotation, but that only rotates the ball.

Any help with this is greatly appreciated.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Return to How do I....?

Who is online

Users browsing this forum: ezgaming420, Yahoo [Bot] and 9 guests