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"

SpawnActorでMovableアクタを生成したい

SpawnActorで生成したアクタのMobilityがStaticになってしまうんですが

Movableでアクタを生成、および動的にMobilityを変更することは可能でしょうか?

よろしくお願いします

alt text

Product Version: UE 4.14
Tags:
transform.png (11.4 kB)
more ▼

asked May 19 '17 at 02:52 AM in Japanese

avatar image

Ryohei_beatbox
1 2 3

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

2 answers: sort voted first

Movableでアクタを生成、および動的にMobilityを変更することは可能でしょうか?

Movableの"Componentを所有するActor"や"StaticMeshActor"は生成することは可能です。
MobilityはStaticMeshActor、Light、SplineMeshActor、SceneComponentなどのメンバーで
Actorのメンバーではないため、全てのActorがMobilityを所有してはいないからです。

動的にMobilityを変更することは可能でしょうか?

Blueprint非公開関数"SetMobility" から変更することは可能ですが、
MobilityはLightmapなどに影響を及ぼすため、動的に変更するケースは非常に稀かと思われます。

Mobilityに関する制約などは以下のドキュメントをご確認下さい。

-Document
https://docs.unrealengine.com/latest/INT/Engine/Actors/Mobility/

more ▼

answered May 20 '17 at 01:07 AM

avatar image

Pier Pop
2.1k 78 4 27

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

Hi,

I'm not good at speaking Japanese so let me comment with English. Check your parent BP(The original object be spawned), on left-top you can see "component", select "XXXmeshComponet(Inherit)", and you can edit its transform property on right side.

Hope this can helps you.

more ▼

answered May 19 '17 at 11:18 PM

avatar image

Seki_M
1

(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