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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Two cubes don't collide, instead they overlap.

I have two cubes, I have it's physics set to block all, and I am not simulating their physics. Why do they overlap? How do I stop them from overlapping and block it's movement when they collide?

Product Version: UE 4.13
Tags:
more ▼

asked May 13 '17 at 08:36 AM in Blueprint Scripting

avatar image

AshwinPG
35 4 3 11

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

3 answers: sort voted first

You should simulate physics for them to detect collisions. My bad.

more ▼

answered Nov 14 '17 at 11:45 AM

avatar image

AshwinPG
35 4 3 11

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

Some of the included meshes don't have collision bounds set up, double click the mesh and click the "collision" button at the top to view the collision bounds, if you don't see lines around the mesh in the viewport, you'll need to add collision boxes to the mesh.

more ▼

answered May 13 '17 at 08:19 PM

avatar image

palvand
62 1 4 5

avatar image AshwinPG May 14 '17 at 05:06 AM

They have collision and it is affected when I simulate physics. Not otherwise. I want to detect hit or overlap without simulating physics

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

What are those boxes doing?

If it simple movable meshes, they should have something that tells them how to behave when they colliding.

In case of pawn/character its movement component, with physics objects its some solver.

But I think you move simple meshes, so to make them do something on hit/overlap, you must implement it. For example disable their movement, and restore it when overlapping ended.

more ▼

answered May 14 '17 at 06:12 AM

avatar image

redbox
4.3k 80 17 104

(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