Hello,
I’ve been trying for hours now and still can’t make this work any solutions? I’m trying to make the box collision component follow the camera rotation but not the locations as the spring arm will move which’ll move the camera and then move the box location.
Thanks in advance.
Still no solution.
Any ideas?
can you describe what you mean more?
are you wanting the box to rotate at a specific point in space, and just mirror the camera rotation? ie, if the camera rotates 90 degrees, the box also rotates 90 degrees?
why not just give the actor with the box collision component a reference to your camera, then just set its own rotation every tick to be what the camera is?
Ty for your response it works like a charm but I was wondering if there’s a way to do it without tick like for example attaching the box to the camera in the component hierarchy and if there’s a way to ignore the cameras location but not rotation.
you could try setting the box to be a child of the camera, the setting the box to only use world space coordinates. that may work and remove the need for tick.
Sry I messed up what I meant to say was is there a way without tick for the box to use the mesh’s location but the camera’s rotation.
i dont believe so but i could be wrong. tick is pretty lightweight, so don’t be afraid to use it if performance is a concern, especially if this is the only instance of this functionality
Ty for your help tho