Warning: Declaration of action_plugin_linebreak::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/action.php on line 41

Warning: Declaration of action_plugin_markdownextra::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/markdownextra/action.php on line 16

Warning: Declaration of action_plugin_syntaxhighlighter3_action::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/syntaxhighlighter3/action/action.php on line 28
アクターの回転(4.7.6) [stepism@UE4メモ]

ユーザ用ツール

サイト用ツール


wiki:ue4:tips:501

アクターの回転(4.7.6)

ブループリントで対応する

「Add Actor World Rotation」は現在地から相対的にYaw/Pitch/Rollで回転させることが出来ます。

C++で対応する

 
void AMyActor::Tick( float DeltaTime ) 
{ 
    Super::Tick( DeltaTime ); 
     
    // 相対的に回転 
    AddActorWorldRotation(FRotator(0.0f, 1.0f, 0.0f)); 
} 

wiki/ue4/tips/501.txt · 最終更新: 2015/04/27 22:26 by step