# UE4 casting to a destructible mesh

**URL:** <https://forums.unrealengine.com/t/ue4-casting-to-a-destructible-mesh/402393>\
**Category:** Blueprint\
**Tags:** casting, object-reference, unreal-engine, Destructible-Mesh, Blueprint, question\
**Created:** [August 21, 2017, 7:52am UTC](https://forums.unrealengine.com/t/ue4-casting-to-a-destructible-mesh/402393 "2017-08-21T07:52:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_tubby1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the\_tubby1](https://forums.unrealengine.com/u/the_tubby1)\
**Post date:** [August 21, 2017, 7:52am UTC](https://forums.unrealengine.com/t/ue4-casting-to-a-destructible-mesh/402393/1 "2017-08-21T07:52:22Z")

</div>

Hi there.  
I’d have thought this was a fairly straight forward thing to do but I’ve been having trouble. I have collectible coins where the coins are attracted to the player when they overlap a sphere collision attached to the coin. everything with the coins works fine. However, my aim is to have a coin spawn once i destroy a destructible mesh, i have the destructible mesh working when I hit it and stuff and the coin spawns fine, but what I’m trying to accomplish is when the coins spawn a new (from the destructible mesh) they delay a little before they are magnetized to my player. So what I have is this -

 ![210572-ue4editor-2017-08-21-08-45-56-72.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/e/d1e4f81011a2027d2fbb27a5fceb67929de65add.png)

You can see I am casting after my player overlaps the sphere of the coin, then I think the problem occurs when I cast to the destructible mesh. The destructible cast is failing according to my debugging. So I am thinking it is probably to do with the object I have attached to the cast. Is it something other than Get Owner? or is the problem that I’m casting to 2 things? maybe it’s the order in which I have the cast?

Any help would go a long way. Thanks in advance, even if the answer is super obvious. 🙂
