Hello there,
I have a bit of a probleme with my blueprints logic involving physic based actor. I have an item BP that a character can pick up. When he does, the item is attached to the player mesh and physics and collision are deactivated by a function and reactivated by another when the item is dropped.
Now the weird thing is that I observed two different results in this item comportment depending on if ‘‘simulate physics” is activated directly in the detail pannel or is activated in game.
If physics is enabled in detail panel, then when the item is picked and physics disabled by my function, the item stay in place, floating in the location where it has been transformed to, and don’t follow the player .
If physics is not enable from detail panel, the item can be picked, physics disabled by my function, follow the player is attach to. When I dropped it, physics is re-enable and nothing weird happens, the item comportment works has intended.
I don’t really understand why that is, and I need the object to have physics activated before player picks it.
I tryed something different by using the physics handle component, but its not really what I’m looking for, the point is to pass from an item in LVL that have physics and can be picked, attach to player as a “static object“ in a sens, and resimulate physics when dropped. Since it works when physics is not directly activated in detail panel, I have the feeling that I just missed something.
My DeactivePhysics function:
My ActivatePhysics function :
The part of my actor component managing spawning actor and attach it to character mesh by bone name :
I hope I gave enought precision, if not, feel free to ask. Any help would be greatly appreciated !





