Download

Attach an actor to a crane hook

I have a Crane.

My pawn has a movable box at top, and a Box (my magnetic hook) connected with constraint to the top Box.

Now i want to attach an actor when i hit it. But i can only attach it to the main pawn, not to the actor (hook) of my pawn.

How can i do this?

Thanks for your help!

constraint.png

You want to create a new physics constraint on HIT at the hook and to the actor that you touch.

Thanks for your Answer. But i am only able to attach the actor to the parent actor.
You can see it in the Video what i mean:

https://www.youtube.com/watch?v=StI_05_-xUs

you just need to set your location for the physics constraint. Change your in editor settings so you can see them at runtime and you will see the attachment points etc. Just set it’s location to be at the bottom 1 not the root actor