How do i get this to work? I'm spawning some smokeFX at the hitpoint and want it to rotate to the hit normal.
The item spawned at the hitpoint of the raycast (bullet smoke) always spawns with rotation: 0, 0.999999, 0
I tried the usual way where i create object at the hitPoint, and in the rotation field i use the hitNormal.
I tried spawning the object, then using "set rotation" afterward.
There was another thread here:
http://hutonggames.com/playmakerforum/index.php?topic=3296.msg15063#msg15063where Red provided a custom code which was basically "set rotation", but this hasn't worked for me.
Whats going on here?