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"

How to make an actor which can go through eveything at a specific speed?

Hello everyone,

I have an actor which can go fast in the map. I want that actor to go through everything on its road when it goes fast. To do that, I made a box component which is a bit bigger than its collision shape. When the overlap event fires, I check its speed and if it is faster than a specific value, I change the object's collision channel, so it can go through that object. If it is not fast enough, then the physics handle the rest, it crashes the object. However, this solution sometimes works, sometimes not. I think, firing overlap event depends on frame rate. Is there any solution to achieve what I want?

Product Version: UE 4.20
Tags:
more ▼

asked Jan 08 '19 at 09:56 PM in Blueprint Scripting

avatar image

Core21.
68 2 3 7

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

1 answer: sort voted first

Yes, when it comes to overlapping, frame rate is crucial. What if you just set the objects to ignore the actor once the actor reaches the needed speed and to block once speed decreases? Or even better, if you can set the same collision preset for all those objects, you can tell the actor to ignore them once faster than a certain speed. With no need to check anything with overlapping volumes.

more ▼

answered Jan 08 '19 at 10:24 PM

avatar image

Tuerer
1.8k 12 7 8

avatar image Core21. Jan 09 '19 at 10:09 AM

I never thought about that. Changing a specific collision response is the solution. Thank you :)

(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