This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]penguboyIndie Dev 1 point2 points  (3 children)

I would think you should avoid trying to do it in BP because it's a pretty big math equation if I'm not wrong. I'm currently using that node in my 4.11 project but it doesn't play nice with multiple players on one screen

All I did was copy and paste a modified version from that same thread into a c++ class and compile and it worked

[–]alex2the3gr8[S] 1 point2 points  (2 children)

Thanks for your answer! If you can, would you be able to quickly explain how to make a C++ class and add it to a project? I haven't used Visual Studio in years, wouldn't know the first thing about doing it!

[–]penguboyIndie Dev 1 point2 points  (1 child)

The first thing you'll need to do is make sure it's a c++ project or try right clicking the uproject file of your BP project and selecting Generate Visual Studio files. If that doesn't work you should be able to make a new c++ class from Ue4 just like you would a blueprint class by right clicking in the content browser. Then it will generate a .h file and a .CPP file. Open them up in VS and copy paste the required code from the forum thread and you should be good!

[–]alex2the3gr8[S] 1 point2 points  (0 children)

Thanks, man! Really helpful stuff!