playMaker

Author Topic: simple fly through camera[SOLVED]  (Read 2475 times)

Pikamus

  • Playmaker Newbie
  • *
  • Posts: 5
simple fly through camera[SOLVED]
« on: October 16, 2012, 07:33:41 AM »
trying to do a FPS style fly through camera.
Tried the simple move tutorial... but that is for a character.

i want it to move towards the mouse look direction while having collision!
i can get it moving towards the camera facing direction with translate... but i can't get collision on it.

any help would be great!
ta
« Last Edit: October 17, 2012, 02:20:31 AM by jeanfabre »

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: simple fly through camera
« Reply #1 on: October 16, 2012, 07:58:34 AM »
have you tried using a rigidbody without gravity on it? Like, create a sphere collider on the camera and add a rigidbody too?
If translate still goes through, you could use force and a high air drag to make the camera immediatly slow down when you stop adding force.
Best,
Sven

Pikamus

  • Playmaker Newbie
  • *
  • Posts: 5
Re: simple fly through camera
« Reply #2 on: October 16, 2012, 08:08:16 AM »
bah! my fault... forgot to add the rigidbody...
just added the sphere collider... haha
thanks!!

ivabibliocad

  • Playmaker Newbie
  • *
  • Posts: 3
Re: simple fly through camera[SOLVED]
« Reply #3 on: January 20, 2019, 07:52:44 PM »
2019 and still having this exact problem, need more in deph explanation if someone can provide one... Thanks for the help!!