x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to make ship tilt with left and right movement?

So I figured out how to get movement for a ship with WASD style, but I can't seem to figure out how to make the ship tilt a bit while moving to the left and to the right. So for example if the player pushes D as the ship moves to the right it will also start to tilt along with it. Thank you in advance for the help :). alt text

Product Version: Not Selected
Tags:
movement.jpg (410.5 kB)
more ▼

asked Apr 14 '15 at 05:59 AM in Blueprint Scripting

avatar image

ThatGuyMiniB
38 21 17 21

avatar image ThatGuyMiniB Apr 14 '15 at 10:12 PM

Hello world?

avatar image ThatGuyMiniB Apr 15 '15 at 08:33 AM

Here is an update of my movement for my ship. Still only WASD movement but no it is a bit more simplified. Still trying to figure out to get it to tilt as you move to the right and left.

alt text

newmove.jpg (377.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Thank you so much everyone that has helped me with this! :D So attached is the blueprint for it and to solve the shakeyness of the camera you have to go to your SpringArm and in the Transform options click on rotation and set it to World instead of Relative and it works perfect now :D. Again thank you all and I hope this helps others in the future as well :). If anyone has any questions about it don't be afraid to message me and I will do my best to help you out.

Again thank you all so much!

alt text

more ▼

answered Apr 16 '15 at 05:50 PM

avatar image

ThatGuyMiniB
38 21 17 21

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Add Rotation Input might work

more ▼

answered Apr 14 '15 at 11:25 PM

avatar image

Stache
61 6 6 5

avatar image ThatGuyMiniB Apr 15 '15 at 05:50 AM

How do I go about doing that?

avatar image Narghile Apr 15 '15 at 08:36 AM

Here is an example of doing it turning left and right.

You would do this for roll instead of Yaw

alt text

Narg

avatar image ThatGuyMiniB Apr 15 '15 at 08:42 AM

Cool I will try this now :) thank you. I'll let you know how it works out.

avatar image ThatGuyMiniB Apr 15 '15 at 08:55 AM

So I went and applied it and still nothing I have the image attached below. alt text

rot.jpg (377.5 kB)
avatar image Stormrage256 Apr 16 '15 at 10:22 AM

I'm not sure about this, but try setting an interp speed greater than zero. And for the target of your set actor rotation, use your movement character as the input.

avatar image ThatGuyMiniB Apr 16 '15 at 04:06 PM

Ok so I tried to apply what you suggested and it appears to be tilting the ship to the left and right when I move to the left and right but it also seems like the camera is tilting with it. How would I fix the camera tilting along with the ship? Below I have the jpg of my blueprint. Thank you so much for all the help guys :)

alt text

update.jpg (401.6 kB)
avatar image ThatGuyMiniB Apr 16 '15 at 04:32 PM

When looked at closer I can't tell if the camera is also tilting, if the mesh I have under the ship is tilting, or even if the ship is tilting at all. If that makes any sense lol. When I do press play thought the screen shakes. Hopefully I gave a better clarification on whats going on.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question