Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: adami on July 21, 2018, 07:39:04 AM

Title: cube collision on rails
Post by: adami on July 21, 2018, 07:39:04 AM
Hi I've tried looking around the forums and online but no answer to be found.
I've currently got a very simple cube with a camera attached to it that consistently flies in the Z axis of where the camera is facing.This works well but my only problem is i can't seem to block the camera or make a collision to limit/prevent the camera from leaving the play zone. Any suggestions. Please see attached screenshot of my nodes.

Any help would be appreciated.

p.s. i've also applied colliders to the box and put geometry infront of it but nothing is happening.

Title: Re: cube collision on rails
Post by: blackant on July 21, 2018, 08:43:17 AM
the transla te action will pass over any kind of colllision.

instead you must use a rigidbody on your box and make it move adding force
Title: Re: cube collision on rails
Post by: adami on July 22, 2018, 06:14:12 AM
the transla te action will pass over any kind of colllision.

instead you must use a rigidbody on your box and make it move adding force

Hey thanks Blackant! that helped instantly. Would you have anyaction recommendations that make an object slow down after force being applied to it stops?