How do I make my projectiles movable after they've stopped?
I've just been playing around with the FPS blueprint and prevented projectiles to disappear after hitting an object. My question is: how do I make the orange balls movable after they've stopped bouncing around? They're completely static and I can't move them by shooting or pushing (my character get's stuck).
First, make sure they don't disappear after a few seconds. In the MyProjectile Blueprint's Defaults tab, change Initial Life Span to a larger number, or to 0.0 if you want them to stay forever.
Next, you'll want to make the projectiles physics actors. In the Components tab, select the [ROOT] CollisionComponent and scroll down to the Collision settings in the Details panel. For Collision Presets, choose PhysicsActor.
Lastly, make sure that Simulate Physics is enabled in the Physics settings.
Hope that helps!
answered May 08 '14 at 09:10 PM
You projectiles are not moving objects cause they are not overlapping anymore. Instead they are hitting it.
UFUNCTION() void OnHit(class AActor* OtherActor, class UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
Follow this question
Once you sign in you will be able to subscribe for any updates here