RoboPhilia
(RoboPhilia)
December 13, 2016, 3:16pm
1
what I need is normal impulse caculation from projectile itself so I can’t use projectile component
because that is incompatible with physics simulation.
if there was “Set X vector " or " set local vector” i could solve this problem. but there isn’t.
Is there any way to launch projectile to where player facing without projectile component?
Kilrogg
(Kilrogg)
December 13, 2016, 4:09pm
2
You can get an actor’s facing direction vector by using GetActorForwardVector, and multiply that by whatever value you want, and use that as the impulse.
RoboPhilia
(RoboPhilia)
December 13, 2016, 4:19pm
3
thanks! that works well.
the muliply value is suitable at 300000