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"

Team Collision Volumes

Hey there,

I'm working on a "MOBA" or, at least at the current time this is the general direction I'm heading with this.. However, when spawning projectiles I have issues with their collision volumes, as they collide with the character that spawns the projectile already. In order to resolve this, I spawn it without collision on and activate it after a short delay. This however would also cause that if I am too close to my enemy the ability would not actually hit him.

Anyways, I was thinking about getting something like "Team based collision volumes" / Team blocking - meaning, Collision volumes that only block / hit enemy actors (actors with opposing team flag). Who's friend or foe I'll still have to work on, but for now I'd be happy if it hits anything that's not me (without removing my own collision) bases on a hard coded flag in Character Mesh.

A second idea I had was to make a line trace in the direction the projectile is flying, have the projectile just be a visual and if the line trace finds an enemy actor, let the projectile explode after (x) duration and/or once it has reached the enemy actor.

Some1 got an idea how to tackle this professionally (using Blueprints) or any (good) hacky way that'll solve this issue for now ^^?

Product Version: UE 4.7
Tags:
more ▼

asked Jun 04 '15 at 10:20 PM in Blueprint Scripting

avatar image

Wr0n9way
0 2 3 4

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

1 answer: sort voted first

hey, you could always try make the player have custom collision settings so that the projectile just over laps your player. and for the team collision idea, its probably easier just to make it so its inaffective against your team, other wise it will most likely just overlap a team member and that could make it unfair or look bad. That choice is up to you though

more ▼

answered Jun 05 '15 at 01:35 AM

avatar image

mojachiee
22 14 12 15

(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