How do I reference my first person character?
I'm very new to Unreal Engine. I followed a tutorial by 'UnrealCG' to make my character push grass/wheat aside when colliding with it, however, I don't think i'm referencing my FP character correctly as the tutorial worked immediately with a 3rd person character reference from the world.
Here's the level blueprint
And this is the world position offset in my grass/wheat material
I also get this error when I hit play [Accessed none trying to read property].
Cheers in advance.
asked Apr 06 '18 at 12:03 PM in Using UE4
Well... Try to reconnect nodes to "Event Tick→Cast to PlayerCharacter→Set Vector Parameter Value".
answered Apr 06 '18 at 03:29 PM
Thanks for the reply,
It stopped the error happening so I assume it worked! Although it still isn't making the wheat move. Is it perhaps a collision option that I'm unaware of?
Here's the re modified blueprint (Hope I got it right)
And here's my wheat mesh collision properties
answered Apr 06 '18 at 10:48 PM
If anyone finds this post and is interested in the solution the mesh is set to NoCollision and this is the level BP layout
Note that this is for the first person character.
Set the vector parameter value to a material parameter.
Here is the material layout you'll need too
Thanks to everyone who helped
answered Apr 10 '18 at 08:29 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here