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"

サード・パーソンゲームでのカメラ視点リセット実装方法について

こちらは参考動画です:https://youtu.be/kA06ZDIPfjs Spring armでカメラを制御するサード・パーソンゲームにおいて、動画のようにユーザーの任意でカメラの視点をPlayer背後の定位置にリセットする機能の実装方法が知りたいです。よろしくお願いします。

Product Version: UE 4.12
Tags:
more ▼

asked Aug 20 '16 at 04:39 AM in Japanese

avatar image

katutojiWazen
155 24 26 37

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

SpringArmがControlRotationの影響下にある場合は、ControlRotationにCharacter自身(この場合はメッシュかコリジョン?)の回転(姿勢)を渡してあげると良いと思います

他の方法で制御してる場合でも基本は同じで、SpringArmの回転を持ってるものにCharacter自身の回転を渡してあげると良いと思います

more ▼

answered Aug 20 '16 at 11:50 AM

avatar image

tamfoi
1.9k 74 6 31

avatar image tamfoi Aug 20 '16 at 12:07 PM

抜けてました。位置の方はTargetArmLengthや、RelativeLocation等をデフォルトの値にセットして上げると良いと思います

avatar image katutojiWazen Aug 22 '16 at 08:35 AM

ありがとうございます。おかげさまで解決しました。

(comments are locked)
10|2000 characters needed characters left
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