Directional gravity walls?
Hi all, i have made a left gravity wall blueprint. This is now setup this way: When you enter the box collision the ball gets "sucked" on the wall. When the ball is "sucked" on the wall the camera rotates to the right from 0 to 90 degrees.
The problems i now have are the following: In the "on component end overlap" i set the rotation back to it's normal position. ( back to 0 ) But this gives me the following problem.
The "set gravity enabled" node is unchecked so the ball pawn goes up in the z axis until it is on the top of the box collision, then the "set gravity enabled" node makes my player pawn move up and down constantly and makes the camera also transition between 0 and 90 degrees constantly ( it stops when i go outside of the box collision ).
That's unfortunatly not all. When i'm "sucked" on the wall i have some weird keyboard inputs. For example the A key does not do anything at all. The D key moves the ball off the wall. The W key moves the ball forward And the S key moves the ball backward. When i'm "sucked on the wall and the camera has rotated i wan't the A and D keys to move the ball left and right. But with the "set gravity enabled" node i can't controll the left and right movement of the ball.
I have a feeling i'm doing this completely wrong. I'm on the third person template, using the physics ball of the rolling template. I uploaded some pictures so you can see what i did. I'm not a pro so be nice, also some blueprints would be nice so i have a visual of what you mean :-)
Thanks in advance
asked May 29 '17 at 10:27 PM in Blueprint Scripting
https://forums.unrealengine.com/showthread.php?85022-Blueprint-C-Advanced-Templates-Tools-amp-Plugins Above is a custom gravity plugin that I have used successfully. All credit goes to its author. Its available for free and comes with demo levels that you see in the videos. Fun and easy, give it a try (+ look at demo assets to learn how to achieve what you want)
answered Jun 04 '17 at 08:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here