playMaker

Author Topic: SphereCast  (Read 9798 times)

Kubold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: SphereCast
« Reply #15 on: May 19, 2014, 04:52:54 AM »
Thanks!

doppelmonster

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

I love this thing  ;D

Kubold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: SphereCast
« Reply #17 on: June 11, 2014, 12: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
    • View Profile
Re: SphereCast
« Reply #18 on: June 26, 2014, 11:08:30 PM »
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: 14585
  • Official Playmaker Support
    • View Profile
Re: SphereCast
« Reply #19 on: July 16, 2014, 05: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
    • View Profile
Re: SphereCast
« Reply #20 on: July 16, 2014, 09:08:03 AM »
thats fun to use!

Corjn

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: SphereCast
« Reply #21 on: January 12, 2017, 05: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: 14585
  • Official Playmaker Support
    • View Profile
Re: SphereCast
« Reply #22 on: January 13, 2017, 12:12:48 AM »
Hi,

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

 Bye,

 Jean