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 get a Line Trace to ignore a specific chanel C++

So, I'm working on a feature for a 2d game. The feature is Passable collision which will be used as a ledge. The player can pass through the collision from underneath and stand on top of it. The current issue that I'm having is that the Passable collision script that I have created switched collision profiles based on a few factors. When the player stands on top of the passable collision, he has the ability to drop through the collision when pressing down and jump.

The passable collision actor toggles between the default channel BlockAll and a custom Chanel I created to Block all but the player. I run a ground detection trace to determine and store a reference to the passable collision. The issue that I am coming across is that the Line trace is not ignoring the passable collision one its collision profile is set to the custom profile that I created for it. I tried creating a custom trace channel but the channel for some reason does not ignore the player's capsule. I was wondering how would I go about getting a trace that ignores both the player's collision profile and the profile used on the passable collision profile.

Product Version: UE 4.8
more ▼

asked Apr 03 '16 at 06:22 PM in C++ Programming

avatar image

6 2 4

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

0 answers: sort voted first
Be the first one to answer this question
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