playMaker

Author Topic: TPS Camera Collisions  (Read 4786 times)

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
TPS Camera Collisions
« on: March 02, 2019, 05:14:03 PM »
Hello,

I have searched left and right for a tutorial that would cover this system but none is available for what I am looking for. I have the camera setup but I do not know how to setup Camera Collisions. I have tried Raycast/RaycastAll, store it and then to move camera forward but I was not successful. If anyone know a tutorial that I can watch/read please let me know.

Thanks!

Schleckenmiester

  • Playmaker Newbie
  • *
  • Posts: 11
    • schleck.dev
Re: TPS Camera Collisions
« Reply #1 on: March 03, 2019, 01:26:12 AM »
Sorry that this isn't an answer to your question but I too have this problem and would like to know.
Check out my blog, I'm making a game with Playmaker! https://schleck.dev

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #2 on: March 05, 2019, 07:40:59 AM »
Anyone?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: TPS Camera Collisions
« Reply #3 on: March 05, 2019, 11:52:30 AM »
Hi.
If you find some unity tutorials i can have a look if i can 'convert' it to playmaker.

Schleckenmiester

  • Playmaker Newbie
  • *
  • Posts: 11
    • schleck.dev
Re: TPS Camera Collisions
« Reply #4 on: March 05, 2019, 02:27:58 PM »
Quick search and I found this.
Check out my blog, I'm making a game with Playmaker! https://schleck.dev

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #5 on: March 05, 2019, 04:50:09 PM »
Hi.
If you find some unity tutorials i can have a look if i can 'convert' it to playmaker.

He has far more than just camera collision here:


But I find this the best so far and first time I got exposed to SphearCast instead of just simple RayCast.

If you can convert that to PM that would be sick.

Thanks!

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #6 on: March 07, 2019, 07:26:37 AM »
djaydino, any update on this?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: TPS Camera Collisions
« Reply #7 on: March 07, 2019, 10:43:01 AM »
Hi.
Sorry, did not have time yet, but i did have a look at the video and i will try to make a video or action after the weekend.

bump again by Tuesday if i did not reply yet.

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #8 on: March 07, 2019, 07:03:37 PM »
Hi.
Sorry, did not have time yet, but i did have a look at the video and i will try to make a video or action after the weekend.

bump again by Tuesday if i did not reply yet.

Sounds good.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: TPS Camera Collisions
« Reply #9 on: March 12, 2019, 02:18:35 AM »
Hi,

 Camera collision is likely handled best with Cinemachine as it automates the process. https://forum.unity.com/threads/cinemachine-camera-collision.515626/

 what do you expect as a camera behavior should it collide with something?

Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: TPS Camera Collisions
« Reply #10 on: March 12, 2019, 06:30:28 PM »
Hi.

i made 2 actions for it to work properly and i have setup a sample scene.
you can get it from the package below.

Let me know if it works.

Edit : Removed the package due to lack of interest... actions will be available on the Ecosystem
« Last Edit: April 20, 2019, 08:47:05 AM by djaydino »

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #11 on: March 13, 2019, 11:12:43 AM »
Hi,

 Camera collision is likely handled best with Cinemachine as it automates the process. https://forum.unity.com/threads/cinemachine-camera-collision.515626/

 what do you expect as a camera behavior should it collide with something?

Bye,

 Jean

Cinemachine is not good for what I want it for.

appTester4587

  • Playmaker Newbie
  • *
  • Posts: 17
Re: TPS Camera Collisions
« Reply #12 on: March 13, 2019, 11:21:35 AM »
Hi.

i made 2 actions for it to work properly and i have setup a sample scene.
you can get it from the package below.

Let me know if it works.

djaydino, from the import I can see those are C# scripts. I can do this in C# but I wanted to do this in PM only.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: TPS Camera Collisions
« Reply #13 on: March 13, 2019, 06:42:41 PM »
Hi.

Those are 2 actions, actions are build in c#

you can see that there is a scene also. open the scene to see the setup.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: TPS Camera Collisions
« Reply #14 on: March 17, 2019, 12:07:42 PM »
Hi.
Did you try the sample?