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"

Is there a way to change a trace's channel type as it overlaps?

Hello,

Is there any way to make a trace change its channel based on what it originally hit or as it overlaps? Here’s what I’m trying to accomplish

I’ve currently made projectile classes that that change their object type when overlapping a wall, to allow them to bypass the other side. In the video below is my colored projectiles and my red trace.

https://www.youtube.com/watch?v=VdPDO8PqZSk&feature=youtu.be

This was accomplished as such:

Projectile

As you can see, the projectiles are working as intended. Now, I currently wish to accomplish the same with a trace but there seems to be no way to do this.

My alternative would be to just make a projectile with a high velocity but I do desire to make a beam. Should that suffice or will it be resource intensive?

My current workaround is basically changing one of the component's (wall) collision response to a trace based on its relative location

It works as follows:

Collision

When relative location Y-axis < 50, change collision trace and vice versa.

I really don’t want to continue to use this method as it may lock me to one axis as it is now. Eventually I do want to make spinning walls and other blueprints that aren’t necessarily locked on one axis.

Product Version: Not Selected
Tags:
more ▼

asked Feb 19 '15 at 07:36 AM in Blueprint Scripting

avatar image

konker777
21 4 5 9

(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