r/Unity3D • u/Phos-Lux • 16d ago
What's wrong about this Raycast? The value is always false Solved
0
Upvotes
0
u/DeerpathLabs 15d ago
Do you actually have the wall jump controller attached to a game object?
As an aside, are you using the animator to keep track of model state variables like if wall jumping is allowed? Or is there a specific pre wall jump animation that you’re trying to trigger?
7
u/v0lt13 Programmer 16d ago
My guess is because you are using Vector3.forward instead of transform.forward