playMaker

Author Topic: i need help for raycast  (Read 1173 times)

puren37

  • Playmaker Newbie
  • *
  • Posts: 3
i need help for raycast
« on: August 31, 2020, 08:08:43 AM »
hi all im not english user so plz understand my messy sentences ;(

i'm try to casting ray and it worked but it doesn't get any information.

i made a collider 2D in front of main camera and casting the ray from camera to collider but debugging message(store did hit) says "false".

i tried with collider(not 2D), raycast 2D, raycast all, is triggered(collider) but all failed. plz help me why and how can i solve this.

oh i want to show pictures about it but i don't know the how to do it sorry

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: i need help for raycast
« Reply #1 on: August 31, 2020, 01:37:40 PM »
Hi.
Maybe this video can help :