Author Topic: Camera Collision - jumpy camera at closer positions  (Read 420 times)


  • Playmaker Newbie
  • *
  • Posts: 19
    • View Profile
    • Odd but Awesome
Camera Collision - jumpy camera at closer positions
« on: April 24, 2019, 12:11:12 AM »
Hi all,

Working on a camera collision for a roll a ball game.

Camera in and out seem to work as they should depending on being blocked or not. But an issue exists when the camera is very close it jumps between 2 values rapidly. Adjusting tolerance on the Float compare seemed to help a bit but not completely.

Can anyone help with my current setup? Beside the problem described above can
it be improved otherwise? Should I replace Float Operand subtract with something better/more controllable?

Thank you for taking the time to read.

If someone knows of a tutorial for camera collision using Playmaker (there are heaps of non-PM) please link as I have searched and found nothing helpful to me.


"_LookAtTargetHigh" is an invisible game object floating above the player so the camera center points above the player ball.

"_lookingAtCamera" is a game object centered and following the Player object with a smooth look at camera FSM.

Clamp is based on preferred distances of the camera with tolerance.
Check out my games & VR Cardboard titles at