playMaker

Author Topic: Camera penetrating wall problem  (Read 153 times)

iikii

  • Playmaker Newbie
  • *
  • Posts: 44
    • View Profile
Camera penetrating wall problem
« on: May 18, 2017, 06:48:48 AM »
Hi, my game is a third person game in a tightly closed indoor area. My camera will often reaches the wall and when it collide with the wall, it will move forward towards the player. The problem is that sometimes the collision between the wall and camera happens too fast and it didn't detect the collision, thus the camera went through the wall.

Is there any 100% successful method to preventing the camera from penetrating past wall?

Phuzz

  • Junior Playmaker
  • **
  • Posts: 96
    • View Profile
    • Bzilla Games
Re: Camera penetrating wall problem
« Reply #1 on: May 19, 2017, 02:14:53 AM »
Try and change the collision detection on the camera collider to "continuous"
Bzilla Games "Education with a Tickle!"
Qbucket Games "Voxel Games"