摘要:
看了一下终于发现了跳跃的关键代码 这里跳跃就和JumpZVelocity联系在一起了,同时运动状态改成了Falling(我认为这里设置Falling是不对的,因为在空中有上升还有下落两个状态),不过MovementComponent有判断停止下落的函数,可以在状态机里直接用。 当然判断是否可以跳跃就 阅读全文
posted @ 2016-03-22 17:19
湛蓝玫瑰
阅读(7377)
评论(0)
推荐(0)
摘要:
Bullet physicsTo make bullets fly through the level, you can use UE4’s physics engine.Create a blueprint based on the ABullet class. I selected Shape_ 阅读全文
posted @ 2016-03-22 15:45
湛蓝玫瑰
阅读(145)
评论(0)
推荐(0)
摘要:
void AMonster::PostInitializeComponents(){ Super::PostInitializeComponents(); // instantiate the melee weapon if a bp was selected if( BPMeleeWeapon ) 阅读全文
posted @ 2016-03-22 15:35
湛蓝玫瑰
阅读(410)
评论(0)
推荐(0)
摘要:
UE4里有弹丸的MovementComponent,十分明显需要这个。 但是魂类呢?放在Tick里,我已经实现了,但是总感觉是对资源的浪费 于是 从Learning.C++.by.Creating.Games.with.UE4.2015上复制下来的简单怪物AI代码, void AMonster::T 阅读全文
posted @ 2016-03-22 14:59
湛蓝玫瑰
阅读(299)
评论(0)
推荐(0)

浙公网安备 33010602011771号