# Physics constraint different behaviour before and after some compile

**URL:** <https://forums.unrealengine.com/t/physics-constraint-different-behaviour-before-and-after-some-compile/474461>\
**Category:** World Creation\
**Tags:** physics-constraint, physics-stability, unreal-engine, question\
**Created:** [November 14, 2020, 10:44am UTC](https://forums.unrealengine.com/t/physics-constraint-different-behaviour-before-and-after-some-compile/474461 "2020-11-14T10:44:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SH\_SWAT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SH\_SWAT](https://forums.unrealengine.com/u/SH_SWAT)\
**Post date:** [November 14, 2020, 10:44am UTC](https://forums.unrealengine.com/t/physics-constraint-different-behaviour-before-and-after-some-compile/474461/1 "2020-11-14T10:44:21Z")

</div>

Hi  
I spawn physics constraint at run time and set some properties, all thing do perfect but when I close editor and reopen it, my constraint don’t behave like before close. and when I run in standalone it act like when I open in PIE before changes in actor.  
If I try describe my situation, I try pull and push box and when my character grab it, I spawn constraint and do action. when I restart my editor or run at standalone mode, constraint spawned but when character move, box not move. It’s still till I change some physics property in my box and after that again all think works good. for example I change box mass.  
What can I do for solve this problem? or do you have any better idea about push and pull objects that need some physical behavior like falling or move on slope.

PS:

- I only use blueprint to scripting.
- For easier configuration and maybe many constraint types in lack of possibility for inheritance from physic constraint component, I make actor like something in engine and spawn that actor after that attach it to my character.
