playMaker

Author Topic: cube collision on rails  (Read 1165 times)

adami

  • Playmaker Newbie
  • *
  • Posts: 8
cube collision on rails
« 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.


blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: cube collision on rails
« Reply #1 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

adami

  • Playmaker Newbie
  • *
  • Posts: 8
Re: cube collision on rails
« Reply #2 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?