How to make an ai stand and not fall down

Hey. I have created an ability that makes all nearby objects be “gravitated” to it. However, when I touch the object or use the ability, they lose control and they fall/ won’t stand. How do I stick a shape to them that will make them not fall down? I want them always to keep standing, even when they don’t touch the ground anymore.
A video representing what I am talking about:

If you have physics enabled on them try going to the physics section and look for the constraints. withing the constraints you can lock the x and y rotation. that would prevent them from falling over.

Thank you!