playMaker

Author Topic: Colider for Camera [SOLVED]  (Read 4829 times)

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Colider for Camera [SOLVED]
« on: October 22, 2013, 02:53:12 AM »
hi,

I have a camera that follows an empty GameObject. Now, I want the camera not to move thru Objects. There are some Scripts already out there, but I am looking for a way, to do it the Playmaker way.

(Adding just a sphere colider to the camera and setting near clipping to 0.01 wont help)

I am not sure, how to start and what actions to involve, so I need a bit helpi and advice on this task...

Here the links to the scripts:

http://wiki.unity3d.com/index.php?title=DontGoThroughThings

http://answers.unity3d.com/questions/14693/stop-camera-from-going-trough-walls.html

http://forum.unity3d.com/threads/191621-3rd-person-camera-collision-script

« Last Edit: October 25, 2013, 03:49:14 PM by Onkelpoe »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Colider for Camera
« Reply #1 on: October 22, 2013, 03:22:47 AM »
Hi,

 Can you reference the existing scripts in questions?

bye,

 Jean

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Colider for Camera [SOLVED]
« Reply #2 on: October 25, 2013, 03:49:59 PM »
hmmm, strange : Setting camera Near clipping Plane to 0.01 helps now - so solved