Any way to disable the rotation limit?
Hello! I am trying to get a character to be able to run up loops/walls and the such. I have got the character to be able to rotate when walking on surfaces (albeit a little laggy), but whenever i try and go upside down using it, this happens.
I can never go any higher than this, no matter how high i put the max step count.
Here is the rotation blueprint i am using. Thanks in advance!
asked Jun 02 '18 at 12:14 AM in Blueprint Scripting
The Bonk Batter
Looks like this person figured all that stuff out back in 2015: https://forums.unrealengine.com/community/work-in-progress/28494-sonic-unreal-worlds-open-source-ue4-sonic-engine
Maybe they can help.
answered Jun 07 '18 at 01:43 PM
Perhaps I didn’t get the point, but when the rotation of your character is the only problem and it shall just stand upright on the ground, then you just have to find the desired normal vector.
Instead of adding (0, 0, -600) to the character mesh, you have to add it in local space, i. e. rotate the vector corresponding to the mesh’s world rotation:
Just connect the output of this snippet to the “End” input of LineTraceByChannel. The rest can remain unchanged.
answered Jun 12 '18 at 07:20 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here