playMaker

Author Topic: SphereCast  (Read 15251 times)

Kubold

  • Full Member
  • ***
  • Posts: 112
Re: SphereCast
« Reply #15 on: May 19, 2014, 07:52:54 AM »
Thanks!

doppelmonster

  • Full Member
  • ***
  • Posts: 157
    • Grinder Games
Re: SphereCast
« Reply #16 on: May 19, 2014, 10:52:25 AM »
just use my new best friend action: "next frame event"

I love this thing  ;D

Kubold

  • Full Member
  • ***
  • Posts: 112
Re: SphereCast
« Reply #17 on: June 11, 2014, 03:05:03 AM »
Good tip! Thanks!

Anyway, spherecast every frame solved my camera wall clipping issue in TPP game. It's pretty much rock solid, camera never goes through walls, no matter what angle you try.

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: SphereCast
« Reply #18 on: June 27, 2014, 02:08:30 AM »
If SphereCast hits multiple objects, how could I store these objects to variables? "Get Raycast Hit Info" has only 1 "Game Object Hit" field. I want to store the hit objects into variables to perform operations on them.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: SphereCast
« Reply #19 on: July 16, 2014, 08:50:28 AM »
Hi,

 This action implement the version where it returns the first hit, to access all collisions, we should have a new action using SphereCastAll.

http://docs.unity3d.com/ScriptReference/Physics.SphereCastAll.html

 Please bump this next week, I'll if I can do it.

Bye,

 Jean

FRickReich

  • Playmaker Newbie
  • *
  • Posts: 21
Re: SphereCast
« Reply #20 on: July 16, 2014, 12:08:03 PM »
thats fun to use!

Corjn

  • Playmaker Newbie
  • *
  • Posts: 1
Re: SphereCast
« Reply #21 on: January 12, 2017, 07:40:44 AM »
The action don't work anymore :( I'm with playmaker 1.8.3 and unity 5.4
Could anyone test it too so we can see if it's only for me or if the code needs an update ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: SphereCast
« Reply #22 on: January 13, 2017, 02:12:48 AM »
Hi,

 Tested and it works, what exactly doesn't work?

 Bye,

 Jean