ãæå®ããããã¤ã³ããå·¡åãã¨ããããããAIã§ã
ãæ¬¡ã®ãã¤ã³ãã«ç§»åããåã«ããã®ãã¤ã³ãã®æ¹åã¸å転ãããã
ããã¤ãã¢ããªã¼ã®ã¿ã§å®è£
ããããªãã¨æã£ãããã§ãã
ããå®è¡ç°å¢ã¯ãUE4.10 Preview2ãã§ãã
ã¾ãã¯ãåç´ãªå·¡åç¨ããã¤ãã¢ããªã¼
åããã¦ããã®ã¯ãCharacterã¢ã¯ã¿ãç¶æ¿ããBPã
ã«ã¯ã«ã¯â¦ããå°ãæ»ããã«å転ãã¦æ¬²ããæã§ãâ¦
ã¨ãæ©ãã§ããæã§è¦ã¤ããã®ããä»ååãä¸ãã
ãRotate to face BB entryãã¿ã¹ã¯
ã¾ãã¯ãä½ãèããã«ä½¿ã£ã¦ã¿ã¾ã
â¦ï¼#^Ï^ï¼
ãRotate to face BB entryãã¿ã¹ã¯ã«ã¤ãã¦èª¿ã¹ã¦ããã¨ã
以ä¸ã®ã¹ã¬ããã«ãã©ãçãã¾ãã
How can I fix my BehaviorTree to turn smooth? - AI - Epic Developer Community Forums
ãã®ã¹ã¬ããã«ããã¨ããRotate to face BB entryãã¿ã¹ã¯ã¯
å®è¡ããç¬éã«æå®ããActorã®æ¹ã«å転ããæ©è½ãæã£ã¦ãããã
ãã®é度ã¯ã³ã³ããã¼ã«ã§ããªãããã§ãâ¦
The Rotate to Face BB Entry task just requests a character to face given direction and finishes as soon as character does that. This task does not control how fast it's done.
ãã ããUse Controller Rotation Yawãç¡å¹ã+
ãUse Controller Desired Rotationãæå¹ãã«ããã°ã
ãRotationRate.Yawã®å¤ã§å転é度ã調æ´ã§ãããã¨ã®ãã¨ã§ãã
This is the domain of character's properties. If you need non-instant turns you need to make sure your Use Controller Rotation Yaw is disabled and Use Controller Desired Rotation is enabled, then RotationRate.Yaw will control how fast a character can turn/rotate (while moving).
ã¨ãããã¨ã§ã対象ã®Characterç¶æ¿BPã®ãã©ã¡ã¼ã¿ã調æ´
- Pawnããããã£ã®ãUse Controller Rotation Yawãç¡å¹
- CharacterMovementã³ã³ãã¼ãã³ãã®ãUse Controller Desired Rotationãæå¹
- CharacterMovementã³ã³ãã¼ãã³ãã®ãRotation Rateã®Yawã360â90ã«
çµæ
ï½·ï¾ââââ(ï¾âï¾)ââââ!!
以ä¸
ï¼åããããã£ã«ã¤ãã¦èª¿ã¹ããæã ãã©ãããç æ°MAXãªã®ã§å¾åãï¼
ï¼ãå°éãã¦ãããæ¬¡ã®ãã¤ã³ãã«ç§»åããåã«ãå¨ãããã§ããã§ãããã
ããçãªä»æ§ã®å ´åã¯ãã¢ã¼ã·ã§ã³å´ã§ä½ã¨ãããæ¹ãããæ°ãããï¼