playMaker

Author Topic: PositionInCameraCenter  (Read 944 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
PositionInCameraCenter
« on: November 03, 2015, 06:58:05 AM »
If you are like me and have problems with ScreenToWorldPoint and wanna get the center of the camera in vector3, behold I give you Position In Camera Center action.

You can use it to spawn in center of camera or keep an object in the center even when the camera is moving. Recommend to use with lerp vector3 action (or any other easing action) for better smoothness if camera is moving. Works with both 3d & 2d camera...

on ecosystem or https://snipt.net/dudebxl/positionincameracenter/