Download

Help with item gravity actor component

So recently I’ve been trying to make a actor component that when attached to an item would allow it to be affected by gravity but it hasn’t been working as intended and I’ve been getting the following error in the Message Log:

Based on the error message, it would there’s something wrong related to the ‘Physics Target’ static mesh component variable but I’m not experienced enough with this type of stuff to know what the problem is.

Does anyone have any idea on what is causing this error and how to fix it?

component_hierarchy

Assuming the Falling Movement is AC_BP_Falling_Item, you’d need need to point the reference at something as currently it’s null. So in the component:

The above assumes the root is a static mesh, which it is in this scenario.

Essentially, the component does not know it is a part of something else, we need ask if there’s a parent and point at the parent’s entity.


Save these for later:

Oldies but goldies.