Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fleech on March 18, 2017, 05:36:10 AM
-
my game uses a lot of physical interaction and i'm trying to cast a ray onto a moving surface. it seems to be lagging behind its cast position. does anyone know if raycast is in fixed update by default? i've tried several interpolation settings on both the casting object and its surfaces and the result is almost always the same.
-
you shouldn't be having this issue, you might be doing this all wrong. ensure that you set up a direction for your raycast to fire, e.g x = 1 or y =1. place the raycast object where you would like it to fire from and set up its direction. if you plan on shooting on specific moving surfaces set up it's layer mask down below to avoid continuous true hit events.
-
Hi,
also, please don't double post :) instead bump your thread or pm me if you did not get any reply.
Bye,
Jean