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"

Attach world objects to player, world collision won't work


I'm trying to make it possible to grab objects in the scene and carry them with me. I want the mesh to be physical by default and i want it to collide with the world while carried.

So i tried several attachment techniques, but they don't attach physical objects.

So i used a layout in which the mesh is physical by default, and then when i press and hold a certain key, it stops being physical, and follows the player. When i release the key, it turns the physics back on (stops following me) and falls on the floor (or get thrown if i swing it :).

alt text

The problem, now that i have, is that object avoids any collisions with the world. It just goes trough walls and floors.

alt text

So either I need a way to force the object to collide with the world when it's attached (or block the player along with it), or i need a way to make physical objects being carried along with the player while keeping the simulation, so that they would collide with the world for sure, kind of like the gravity beam in UDK.

  • i also tried to put custom meshes in "my character > components" blueprint and set them to physical. It turns to be kind of funny, the movement and physics do work together, but not exactly "under control"

  • I also tried to make a custom collision bounding box in the "my character > components" blueprint to fake or act as placeholder collision for the grabbed objects. but it seems nothing within the "my character" blueprint other then the default capsule, would actually collide with the world.

If anyone has experience or ideas, thanks in advance ;)

Product Version: Not Selected
attach.jpg (73.0 kB)
chair.jpg (217.4 kB)
more ▼

asked May 09 '14 at 07:03 PM in Blueprint Scripting

avatar image

1 1 1 2

avatar image Blakey876 Sep 07 '14 at 08:52 PM

Hello. Did you over get this to work. I am building on what you did and I am interested if you did it. If so can you give me some pointers please.


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

1 answer: sort voted first


Have you taken a look at the Content Examples and the Physics map? Look at the PlayerCharacter Blueprint, it uses a similar system to what you are after.


more ▼

answered May 09 '14 at 08:51 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

(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