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"

Collision doesn't work with spawn actor

So I've got a Blueprint that I place into the level and everything works fine.

this is where I need collision: https://i.imgur.com/Hxbh0mP.png

I put the collision on static mesh like this: https://i.imgur.com/7P5Vp6Q.png

When I place Blueprint by myself it works, but when I spawn it with SpawnActor in Level Blueprint it doesn't work at all: https://i.imgur.com/efSBXLX.png

I tried to change collision type after spawning but it won't help.

I also checked if maybe collision works with something like this: https://i.imgur.com/bRT7oq3.png but whenever I collide with the object there's nothing printed.

What's the difference between spawning it and putting it manually and how can I make the collision work?

Product Version: UE 4.18
Tags:
more ▼

asked Dec 28 '17 at 06:36 PM in Blueprint Scripting

avatar image

BajKull
8 1 2 4

avatar image mattr.taylor May 18 '18 at 11:58 AM

Following. I'd love to find a solution for this. I've tried everything I can. I've also ejected camera and inspected the objects in question. One is world static, block all. The spawned object has Physics Actor applied with all the proper presets. And yet they pass straight through one another.

Using 4.19.2

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

2 answers: sort voted first

I have been using it like this and it works fine...

alt text

col.png (56.0 kB)
more ▼

answered Dec 29 '17 at 08:39 AM

avatar image

SouthBot
46 1 5

avatar image BajKull Dec 29 '17 at 01:46 PM

I tried that and it didn't help. There's no difference in collision between spawned one and the one I put into the level by myself.

original: alt text

spawned: alt text

Even though it collides only with the one i put by hand and it ignores the ones spawned.

original.png (96.3 kB)
spawned.png (99.0 kB)
avatar image mattr.taylor May 18 '18 at 12:02 PM

I can confirm that the above doesn't work. I also ejected camera and checked with and without these. Always set to PhysicsActor and still doesn't collide.

avatar image Doctor_Kannon Apr 22 '19 at 08:39 PM

This is still occurring. Any solutions?

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

In your collision component change the drop down to choose a collsion type. At the moment it says No Collsion

more ▼

answered Dec 28 '17 at 10:31 PM

avatar image

SouthBot
46 1 5

avatar image BajKull Dec 28 '17 at 10:35 PM

It affects only one BP that was collided, tried changing that already and it wouldn't do anything. I'm spawning in this example 1 BP per second, I stopped frame, ejected camera and looked and compared all the blueprints, they were all the same so that's what intrigues me.

(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