Hello! I’m trying to make a grappling system but my Line Trace is not working. It’s suposed to choose the “best target” to grapple to, but the line trace is fixed in one angle, green lighted and won’t follow my character. I believe the problem is with the Owning Character private variable… Should I, somehow, change the setting for that or make my variable public?
I don’t know if it helps, but I’m not using the default ThirdPerson Character, I use the Character from the AnimStartePack; and i programmed it to spawn when I play the simmulation.
Hope someone can help me with this. Thanks!
Just click on the last link in the error text. That code is getting a ‘null’ reference. A variable isn’t assigned.
Thanks for answering! I’ve been trying to click on the last link, but it doesn’t redirects me anywhere Any clue how I might add a value to the variable?
Edit: I changed the default character to the Default ThirdPerson Character, and it doesn’t shows me an erro anymore… But the Line Trace is numb haha
1 Like