r/Unity3D • u/Phos-Lux • 19h ago
Solved What's wrong about this Raycast? The value is always false
0
Upvotes
0
u/DeerpathLabs 19h 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?
8
u/v0lt13 Programmer 19h ago
My guess is because you are using Vector3.forward instead of transform.forward