x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Creating a radial impulse upon impact

I've been trying to manipulate the first person blueprint project to allow the projectiles to explode and apply a radial impulse to any nearby boxes. My problem is that the radial impulse seems to not work at all. What I've told it to do is to create the default explosion blueprint on the point of the ball's impact, in which I told it to grab a Capsule Overlap Compenents to find out which components are in the area, after which it will apply the radial impulse to the found objects, which is the only part of the whole thing that doesn't work. Even using a material set node will apply to the proper objects, just not the radial impulse. I've tried to put it in the projectile blueprint as well, but there is still no success. Any help would be appreciated, I honestly thought this was going to be easy.

Product Version: Not Selected
Tags:
more ▼

asked Mar 20 '14 at 11:41 PM in Blueprint Scripting

avatar image

SurelyExploding
23 3 4 6

avatar image Ben Halliday STAFF Mar 20 '14 at 11:54 PM

Hey,

Can you post some pictures of your Blueprint's Event Graph? The community might be able to walk you through the process if they can see how you're going about it.

Best,

Ben Halliday

avatar image SurelyExploding Mar 20 '14 at 11:59 PM

alt text Alright, here is is. Everything else in this works, just not the impulse.

avatar image User-1420270633 STAFF Mar 21 '14 at 12:13 AM

I see your running this from the construction script... is this an existing blueprint that came with the project, or one that you've created from scratch? Have you tried running it from an EventBeginPlay node in the EventGraph? Don't know why that would matter, but just trying to throw out some ideas to help get you off and running.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I found out that the boxes were so heavy that a force of about 10 million is required to move them. This was really unexpected, sorry for wasting everyone's time.

more ▼

answered Mar 21 '14 at 03:13 AM

avatar image

SurelyExploding
23 3 4 6

avatar image User-1420270633 STAFF Mar 21 '14 at 03:59 PM

Happy that you figured out a solution. Please, don't hesitate to post again if you run into any other hiccups.

Cheers - Mike (Epic Games)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You want to make sure your components are set to "Simulate Physics". You can do this for specific components in their property window (under the "Physics" section when they're selected), or there's a blueprint node titled "Set Simulate Physics" that you can use to enable/disable the simulation.

Hopefully this resolves your issue. Be sure to post again if it doesn't!

more ▼

answered Mar 21 '14 at 12:02 AM

avatar image

User-1420270633 STAFF
963 27 26 58

avatar image SurelyExploding Mar 21 '14 at 12:05 AM

I'm using a default level, so the components are already set to simulate physics. The most confusing part about this is that the Impulse on Location node on the projectile by default works, but using this with almost the exact same setup doesn't.

avatar image Rama Mar 21 '14 at 12:08 AM

Cant help but smile at how the name of your thread is so appropriate for your user name!

Are you always going to be posting UDN topics related to your name?

;)

Rama

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question