How to get the velocity of anything that overlaps a box collision? UE4-27

Any ideas?


It seems that the title both asks and answers the question. :wink:

Thanks, but I thought I tried that before.

You’re giving us no details whatsoever. So… not sure what you expect.

Can that method get the velocity of ALL things that overlap the trigger box?

No. Those things need to have velocity first. If you want an object-agnostic method, you’d need to measure the velocity first. Location in previous frame vs this frame’s location will give you the delta.

Whether something has the (node) velocity (see pic) depends on how you’re moving it. All movement components report it, so do physical bodies.

Ok thanks.

I’m wondering if it’s possible to find it using this for one frame?

1 Like