Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Pikamus on October 16, 2012, 07:33:41 AM

Title: simple fly through camera[SOLVED]
Post by: Pikamus 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
Title: Re: simple fly through camera
Post by: kiriri 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.
Title: Re: simple fly through camera
Post by: Pikamus on October 16, 2012, 08:08:16 AM
bah! my fault... forgot to add the rigidbody...
just added the sphere collider... haha
thanks!!
Title: Re: simple fly through camera[SOLVED]
Post by: ivabibliocad 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!!