Hey Ive been having a hard time getting past some issues that have come up and i was wondering if anyone could help out at all.
Ive been using a pawn instead of character actor and i think its the root of most of my problems. I’ve been getting decent results game play wise with the pawn
so i want to stick with it but im open to different things. also the pawn is a ball and the movement and gravity is driven by force.
Moving platforms and player pawns
So i understand this is really easy with a character actor, I’ve looked into some work arounds for player pawns but i keep getting boned.
Adding location offset and trying to add the velocity to the pawn hasn’t worked out for me so far. I read in a unity forum that someone solved a similar problem by making the
pawn the child of the moving platform but i don’t think that’s a thing in Unreal.
most of my pursuits shoot my player off the map, and sometimes randomly kill the actor.
also teleporting is something I’ve had issues with while using this character.
Sound fx hit events
“can jump” is set by a ray trace shooting down the z axis. when the length is under a set amount jump is available again and a sounds plays. Im having hard time figuring out how to have
the sound play properly when the pawn hits something in air and runs into a vertical surface but I keep running into the sound effect playing like a jack hammer
I tried to make the sounds effect work on hit events for vertical surfaces, making the sound activate if the pawn hits a different object. so on hit it stores the object information and compares it to the next hit event and finds out if its touching the floor or a wall or a rock. i set it to do once but i still get the same issue. if the ball is touching two surfaces at the same time like if it was sitting in a corner the hit event bounces between registering the object infinitely