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 without simulating physics

Hi, I started a new project using the side scroller example. I now have projectiles that spawn when I shoot, but these projectiles are not colliding with any geometry, other then the player character, if I dont turn on the box "simulate physics". I tried multiple things as changing the type of collision to BlockAll, enabling CCD, deleting the mesh e creating a new one, creating a custom collision in the mesh, changing collision complexity.

The screenshot of the projectile components

alt text

Screenshot of the Cube physics and collision

alt text

Screenshot of Projectile Movement component

alt text

I also have this on the construction script of the projectile alt text

Any help would be appreciated! Thanks.

Product Version: UE 4.12
Tags:
ss1.png (6.0 kB)
ss2.png (50.9 kB)
ss3.png (53.5 kB)
ss4.png (128.2 kB)
more ▼

asked Jun 23 '16 at 08:38 AM in Bug Reports

avatar image

molinaa
56 7 10 14

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello molinaa,

Could you try setting the static mesh as the root component. This should allow the actor to collide with other objects. As a note you may need to scale the projectile on spawn. Another option you could use would be to use a collision component at the root. I hope that this information helps.

Make it a great day

more ▼

answered Jun 23 '16 at 02:49 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image molinaa Jun 23 '16 at 04:11 PM

Setting the mesh as the root component fixed it, thanks Rudy!

(comments are locked)
10|2000 characters needed characters left
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