playMaker

Author Topic: How to use Raycast Hit Normal to set the direction of an Object? [SOLVED]  (Read 506 times)

sandEboy

  • Playmaker Newbie
  • *
  • Posts: 39
    • GraspTech
I'm trying to get a particle to spawn at a raycast hitpoint and face the hit normal direction. The particle spawns perfectly fine at the hit point but when I store the hit normal as well and set the create object's rotation to the hit normal I stored, there is no effect. Is there a standardized way to do this?
« Last Edit: September 06, 2021, 05:00:17 PM by sandEboy »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to use Raycast Hit Normal to set the direction of an Object?
« Reply #1 on: September 06, 2021, 04:18:57 PM »
Hi.
Im using direction in this tutorial maybe it can help :


sandEboy

  • Playmaker Newbie
  • *
  • Posts: 39
    • GraspTech
Re: How to use Raycast Hit Normal to set the direction of an Object?
« Reply #2 on: September 06, 2021, 04:59:50 PM »
Thank you so much! I've never had a problem solved quicker. Very clear and precise tutorial.