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"

Get collision callback before it was resolved

Is there any way so I can get a collision signal / callback before it was actually resolved by the physics engine. I want to be able to run the physics on ACharacter on collision with some object, and turn off it's nav mesh navigation. When when I do it on OnHit the actor hit my ACharacter get stucked for a frame. So if I was able to turn physics on, and turn navmesh navigation off right before the actual collision was solved I would be able to solve the problem.

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Dec 14 '17 at 03:56 PM in C++ Programming

avatar image

Krzysiek_TATE
219 4 13 18

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

1 answer: sort voted first

You can tick the actor in pre or post physics.

See Tick Groups

more ▼

answered Dec 14 '17 at 04:02 PM

avatar image

OptimisticMonkey
349 7 12 22

avatar image Krzysiek_TATE Dec 14 '17 at 04:49 PM

Thanks for the feedback! But that won't give me information if I'm right before collision solving. I won't even have an information if I'm going to collide with anything. What I'm looking for is a callback right before collision solve, not right after.

(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