Rotating an object half as much as another
I am currently playing around with Mitchs vr following the unreal vr cookbook examples.
I am trying to make a system similar to cogs and gears in which one rotation of the small wheel will rotate the the big wheel X amount(in this case 50%). i have tried a number of methods and most end up with the big wheel rotating the required amount and snapping back to 0 degrees as the small wheel completes one rotation.
Could anyone point me on the right track,
Thanks everybody for the assistance with this, and pointing me in the right direction
Below is the finished graph with the scale reduction in rotation
Many Thanks to jaragoondoo, BenVlodgi and others
The Problem is that you go from 359 degrees for the large rotation.
Save the difference between the two angles that are changing, and use that to add to your smaller rotation.
Here's a link to the recreated code. BlueprintUE.com/blueprint/uz6fez1c
You need to add a
Watch this tutorial: Basics of AI | Live Training | Unreal Engine
This one is also good: Getting Started with AI | Live Training | Unreal Engine
Instead of setting the relative rotation, have you tried using Add Relative Rotation? You could, for example, add 5 degrees of rotation to one and add 2.5 degrees to the other.
answered Jul 19 '17 at 03:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here