Hi there. I tried to repeat after this tutorial and add to my game ability to pick up and throw objects, but I have 2 problems:
- When I pick up some object, it attaches to my camera, but it’s only “synchronized” horizontally with my
CameraComponent
, which means that when I turn my camera up, I can’t see this object, and throw it. - How do I prevent this object going through the walls, while I’m holding it? I tried to make
SetSimulatePhysics
,SetEnableGravity
andSetCollisionEnabled
always true, but it only makes my object shaking all the time.
Any thoughts?