camera zoom on cursor
Hi, I'm looking for a blueprint setup for my zoom in/out camera. How to make the camera target the cursor while zooming ? I've tried with Get Mouse Position, but it's only 2D coords. I've tried a ConvertMouseLocationToWorldSpace too, but my camera looks an object with a certain angle from the ground (20°), so there is a mismatch in one axis : each time I zoom, the camera moves on its Y axis (it probably don't takes count of the difference between the Y coord of the camera and the distance between the camera and the targeted object). I'm actually working with a camera attached to a spring arm (which length is modified to ajust the zoom), in a pawn class blueprint.
Any suggests would help, thanks !
asked Feb 18 '16 at 11:39 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here