Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: spicyasian128 on August 17, 2018, 11:45:40 PM

Title: Best practice for using Raycast in Camera collision?
Post by: spicyasian128 on August 17, 2018, 11:45:40 PM
I'm trying to set up a collision system for my 3rd person camera right now, and to do so I've got it set up to be detected by a raycast, but at this point I'm wondering what the best way to go about actually moving the camera is. I tried having the camera move towards a point on my players head based on the hit distance, but that gave me some difficulties with getting the ray to come back out after it has gone in. Is there a better way for me to go about this without needing to download external addons, or is there a specific way I should be going about using the move towards function in this instance?