How can I rotate a object, when grabbed? (Physics Handle)
Hello, basically I'm creating a object grabbing system for my game, I had no idea how to do something like this so I've exactly replicate this blueprint on this video tutorial;
Surprisingly everything worked and is working to this moment, but one thing that I need to be able to do is to rotate the grabbed object by pressing/holding a button, sadly he doesn't show you how to do that. Here is my question; how would I do something like that? what nodes would I have to add? Thanks. :)
Ok man, I recreate the Tesla Tutorial (Tesla´s Tuts are always amazing) to be easier for you to understand what I did.
It is simple, actually
After the video tutorial, just create the following Blueprint:
Put it after the Tick Event with the branch, it will take your mouse postion, create a rotation - 5000 (I needed to put this high amount to have a better looking when rotating the object, if you want the object to rotate slowly, just increase this number a lot, like 6000, 7000 and so on.
Here is the result: https://www.youtube.com/watch?v=JMCq-7C6TbY
Hope you can succeed! Good Luck!
answered Jan 11 '16 at 12:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here