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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I change the velocity of projectile with simulating physics?

Hey, I searched up how to the change the velocity of a projectile and I saw that simulating physics messes up the velocity of the projectile.

Now, how can I change it, even with simulating physics? I tried using all methods: set velocity in local space, set all physics velocity but it didn't change.

Is it even possible or no?


Product Version: UE 4.11
more ▼

asked May 27 '16 at 09:37 PM in Blueprint Scripting

avatar image

7 4 4 5

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

1 answer: sort voted first

Add Force node

F = ma >> F = m*(delta velocity / delta time) >> F = m* [(v1 - v0) / (t1 - t0)]

If you want v to change over time, add force!

more ▼

answered May 28 '16 at 05:21 AM

avatar image

351 7 5 32

avatar image Cosma_One May 28 '16 at 10:32 AM

Thanks for the answer.

After I posted the question, I removed the projectile and tried to give velocity to the mesh itself. In the end, I added an impulse to the mesh and checked the boolean in the down end of the node, which applies the impulse as velocity. Of course I had to adjust the vector, like rotate it etc. , but I finally had something that worked as I wanted.

I will mark this as solved. And thanks again for the quick answer. I will keep in mind your approach in any future projects. If anyone wants to know how I applied velocity to the mesh itself, just tell me.

avatar image Dodgin May 28 '16 at 02:24 PM

Np. The definition of impulse is instantaneous force :)

(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